diff --git a/components/MapComponent.js b/components/MapComponent.js index ffc376ef0..5855582c9 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -722,7 +722,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { const port = url.port; // Gibt den Port zurück, leer wenn Standardport verwendet wird const protocol = url.protocol; // "http:" oder "https:" //const serverURL = `${protocol}//${hostname}`; - const serverURL = "http://10.10.0.13"; // weil ich keine API habe, ansonsten serverURL ist localhost(IP-Adresse) + const serverURL = "http://10.10.0.13"; // weil ich keine API habe, ansonsten serverURL ist localhost(IP-Adresse) für GisSystemStatic für die Benutzerrechte //const serverURL = "http://localhost:3000"; const params = new URL(window.location.href).searchParams; diff --git a/pages/api/[...path].js b/pages/api/[...path].js index e1d6066fa..30205dad5 100644 --- a/pages/api/[...path].js +++ b/pages/api/[...path].js @@ -4,7 +4,7 @@ import { createProxyMiddleware } from "http-proxy-middleware"; export default createProxyMiddleware({ //target: "http://192.168.10.58:3001", - target: "http://10.10.0.13", // Ziel-URL des Proxys + target: "http://10.10.0.13", // Ziel-URL des Proxys // API Aufruf zum mapGisStationsStaticDistrictUrl, mapGisStationsStatusDistrictUrl, mapGisStationsMeasurementsUrl, mapGisSystemStaticUrl und mapDataIconUrl //target: "http://localhost", // Ziel-URL des Proxys //target: "http://192.168.10.187:3000", // Ziel-URL des Proxys