Backup von dem Server 10.10.0.13 was hochgeladen und konfiguriert ist

This commit is contained in:
ISA
2024-06-03 07:07:17 +02:00
parent e927b62f53
commit 8d2d109756
601 changed files with 15133 additions and 539 deletions

View File

@@ -130,7 +130,7 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
const offlineTileLayer = "/mapTiles/{z}/{x}/{y}.png";
//const onlineTileLayer = "/mapTiles/{z}/{x}/{y}.png";
//const onlineTileLayer = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png";
const onlineTileLayer = "http://10.10.0.13:3000/mapTiles/{z}/{x}/{y}.png"; //Talas_v5 Server
const onlineTileLayer = "http://localhost:3000/mapTiles/{z}/{x}/{y}.png"; //Talas_v5 Server
// Create map layers
const TALAS = new L.layerGroup();
const ECI = new L.layerGroup();
@@ -146,7 +146,7 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
const TALASICL = new L.layerGroup();
const [gisSystemStaticLoaded, setGisSystemStaticLoaded] = useState(false);
const baseUrl = "http://10.10.0.13/talas5/devices/";
const baseUrl = "http://localhost/talas5/devices/";
const [isPoiTypLoaded, setIsPoiTypLoaded] = useState(false);
const [poiTypMap, setPoiTypMap] = useState(new Map());
const [showPopup, setShowPopup] = useState(false);
@@ -714,7 +714,7 @@ const MapComponent = ({ locations, onLocationUpdate }) => {
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://localhost"; // weil ich keine API habe, ansonsten serverURL ist localhost(IP-Adresse)
//const serverURL = "http://localhost:3000";
const params = new URL(window.location.href).searchParams;