fix(ui): add environment.prod.ts for production builds
This commit is contained in:
committed by
khalil-bot
parent
781959240b
commit
c5d65200ce
4
ui/.gitignore
vendored
4
ui/.gitignore
vendored
@@ -60,7 +60,7 @@ testem.log
|
|||||||
.env
|
.env
|
||||||
.env.local
|
.env.local
|
||||||
.env.*.local
|
.env.*.local
|
||||||
src/environments/environment.prod.ts
|
#src/environments/environment.prod.ts
|
||||||
# Keep environment.ts as template
|
# Keep environment.ts as template
|
||||||
|
|
||||||
# Build artifacts
|
# Build artifacts
|
||||||
@@ -90,4 +90,4 @@ Thumbs.db
|
|||||||
*~
|
*~
|
||||||
.tmp/
|
.tmp/
|
||||||
temp/
|
temp/
|
||||||
src/environments/environment.prod.ts
|
#src/environments/environment.prod.ts
|
||||||
|
|||||||
7
ui/src/environments/environment.prod.ts
Normal file
7
ui/src/environments/environment.prod.ts
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
export const environment = {
|
||||||
|
production: true,
|
||||||
|
apiUrl: 'https://e2eeda.hes-so.ch/api',
|
||||||
|
wsUrl: 'wss://e2eeda.hes-so.ch/ws',
|
||||||
|
influxUrl: '',
|
||||||
|
logLevel: 'error',
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user