Refactor environment and nginx configuration for improved API routing and proxy handling

This commit is contained in:
Vincent Guillet
2025-11-26 15:14:53 +01:00
parent 8cdfab9596
commit b16eff2e76
4 changed files with 24 additions and 144 deletions

View File

@@ -1,5 +1,5 @@
export const environment = {
production: true,
apiUrl: 'https://dev.vincent-guillet.fr/gameovergne-api/api',
psUrl: 'https://dev.vincent-guillet.fr/gameovergne-api/api/ps'
psUrl: '/ps'
};

View File

@@ -1,5 +1,5 @@
export const environment = {
production: false,
apiUrl: 'http://localhost:3000/api',
psUrl: 'http://localhost:3000/api/ps'
psUrl: 'ps'
};