feat: automatische Moduserkennung für fetchAnalogInputsService.ts implementiert

- Modus wird anhand von window.location.hostname bestimmt
- Lokale Umgebung (localhost/127.0.0.1) nutzt Mock-API
- Produktionsumgebung lädt analogInputs.json via CGI
- Kein Bedarf mehr für manuelle .env-Konfiguration
This commit is contained in:
ISA
2025-07-09 09:59:53 +02:00
parent eca52f35cb
commit 340990573f
7 changed files with 85 additions and 51 deletions

View File

@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
NEXT_PUBLIC_EXPORT_STATIC=true
NEXT_PUBLIC_USE_CGI=true
# App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.567
NEXT_PUBLIC_APP_VERSION=1.6.568
NEXT_PUBLIC_CPL_MODE=production