diff options
author | 2025-02-09 13:18:28 +0100 | |
---|---|---|
committer | 2025-02-10 09:04:41 +0100 | |
commit | c1667e6060e078b31d7b64ce509d58e853df3a3b (patch) | |
tree | 1ff01c3a0c27cbb7e4b1171e5c824c0433e7c2e9 /usecaseui-portal/src/app/datainterface.ts | |
parent | 9410a0b6eb80fda6dd652424e8c80ffa46d43077 (diff) |
Backend url is environment specific in some locations
- use `window.location.origin` to make the backend url working for both
local (localhost) and remote (uui.example.com) deployments
Issue-ID: USECASEUI-865
Change-Id: Idf5b6fe8a04ce744fc4cb9986c10977e60548820
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'usecaseui-portal/src/app/datainterface.ts')
-rw-r--r-- | usecaseui-portal/src/app/datainterface.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/usecaseui-portal/src/app/datainterface.ts b/usecaseui-portal/src/app/datainterface.ts deleted file mode 100644 index 2ba1af97..00000000 --- a/usecaseui-portal/src/app/datainterface.ts +++ /dev/null @@ -1,6 +0,0 @@ -enum baseUrl{ - baseUrl = 'http://localhost:8082/api/usecaseui/server/v1' //online - //baseUrl = 'http://172.19.44.223/api/usecaseui-server/v1' //local one - //baseUrl = 'http://localhost:8082/api/usecaseui/server/v1' //local two -} -export {baseUrl};
\ No newline at end of file |