Implemented basic env var stuff

This commit is contained in:
2020-06-06 22:11:22 +02:00
parent 33f4b4f97e
commit ab32b3c94e
5 changed files with 19 additions and 2 deletions

View File

@@ -4,7 +4,8 @@
export const environment = {
production: false,
apiUrl: 'https://localhost:5001'
apiUrl: window["env"]["apiUrl"] || "default",
debug: window["env"]["debug"] || false
};
/*