- API-Response für GisSystemStatic in Redux Store gespeichert - Server-IP aus `.env.local` geladen (`NEXT_PUBLIC_API_BASE_URL`) - `idMap` und `idUser` aus URL-Parametern extrahiert - fetchGisSystemStatic angepasst für dynamische Werte - Redux Store aktualisiert und getestet
18 lines
562 B
Plaintext
18 lines
562 B
Plaintext
#.env.local
|
|
# DB-Settings (nur Backend)
|
|
DB_HOST=localhost
|
|
DB_USER=root
|
|
DB_PASSWORD="root#$"
|
|
DB_NAME=talas_v5
|
|
DB_PORT=3306
|
|
|
|
# Public Settings (Client braucht IP/Domain)
|
|
NEXT_PUBLIC_SERVER_URL="http://192.168.10.33" # oder evtl. später https://nodemap.firma.de
|
|
NEXT_PUBLIC_ENABLE_GEOCODER=true
|
|
NEXT_PUBLIC_USE_MOCK_API=true
|
|
NEXT_PUBLIC_DEBUG_LOG=true
|
|
|
|
# für Polylines/kabelstecken -> in Konextmenü "Station öffnen" "
|
|
NEXT_PUBLIC_BASE_URL=http://192.168.10.33/talas5/devices/
|
|
NEXT_PUBLIC_API_BASE_URL=http://192.168.10.33/talas5/ClientData/WebServiceMap.asmx
|