Ajout de variables d'environnement pour

la Prod et le Local (url de l'API)
This commit is contained in:
Sébastien André
2019-11-11 15:17:05 +01:00
parent 1f0be68e58
commit 987f924141
4 changed files with 76 additions and 38 deletions

View File

@@ -1,3 +1,5 @@
export const environment = {
production: true
production: true,
urlApi: "https://skydivelogsapi.azurewebsites.net",
debugMode: false
};

View File

@@ -4,5 +4,7 @@
// The list of which env maps to which file can be found in `.angular-cli.json`.
export const environment = {
production: false
production: false,
urlApi: "http://localhost:5000",
debugMode: false
};