From c1667e6060e078b31d7b64ce509d58e853df3a3b Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Sun, 9 Feb 2025 13:18:28 +0100 Subject: 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 --- usecaseui-portal/src/app/datainterface.ts | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 usecaseui-portal/src/app/datainterface.ts (limited to 'usecaseui-portal/src/app/datainterface.ts') 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 -- cgit 1.2.3-korg