From 18ec397b340fe692aada2f99a4cd13c9d4f1e1f4 Mon Sep 17 00:00:00 2001 From: Emil Balitzki Date: Wed, 5 Jun 2024 10:34:44 +0200 Subject: [PATCH] Revert "Update DataFetch.tsx" This reverts commit 41f288a915163bd6407702fda2afacd7d90dda06. --- frontend/src/components/MapView/DataFetch.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/MapView/DataFetch.tsx b/frontend/src/components/MapView/DataFetch.tsx index f8c688df..4023821f 100644 --- a/frontend/src/components/MapView/DataFetch.tsx +++ b/frontend/src/components/MapView/DataFetch.tsx @@ -24,7 +24,9 @@ const getBaseApiUrl = () => { }`; default: } - return `http://test.amos.b-ci.de:8081`; + return `http://${import.meta.env.VITE_API_HOST_DEV}:${ + import.meta.env.VITE_API_PORT_DEV + }`; }; const useGeoData = (