From c5d65200cec9f95d2c9971c4cb4051fc1e5def8a Mon Sep 17 00:00:00 2001 From: khalil liloulah Date: Thu, 2 Apr 2026 15:27:56 +0200 Subject: [PATCH] fix(ui): add environment.prod.ts for production builds --- ui/.gitignore | 4 ++-- ui/src/environments/environment.prod.ts | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 ui/src/environments/environment.prod.ts diff --git a/ui/.gitignore b/ui/.gitignore index c17ce35..4090cbd 100644 --- a/ui/.gitignore +++ b/ui/.gitignore @@ -60,7 +60,7 @@ testem.log .env .env.local .env.*.local -src/environments/environment.prod.ts +#src/environments/environment.prod.ts # Keep environment.ts as template # Build artifacts @@ -90,4 +90,4 @@ Thumbs.db *~ .tmp/ temp/ -src/environments/environment.prod.ts +#src/environments/environment.prod.ts diff --git a/ui/src/environments/environment.prod.ts b/ui/src/environments/environment.prod.ts new file mode 100644 index 0000000..8a25bdf --- /dev/null +++ b/ui/src/environments/environment.prod.ts @@ -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', +};