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

@@ -1,3 +1,13 @@
## [1.6.568] 2025-07-09
- feat: Modus-Erkennung über window.location.hostname implementiert
- Automatische Umschaltung zwischen Entwicklungs- und Produktionsmodus
- Hostname-basierte Erkennung: localhost/127.0.0.1 → "dev", sonst → "production"
- fetchDigitalInputsService.ts entsprechend angepasst
- Erleichtert Entwicklung und reduziert manuelle .env-Konfiguration
---
## [1.6.567] 2025-07-09
- feat: CGI-kompatiblen CSV-Parser für digitale Eingänge implementiert