Files
CPLv4.0/config/webVersion.ts
ISA 47a663f4d2 feat: Dynamische API-URL für Production & Development + JSON-Server Hinweis
- API-URL passt sich automatisch an die Umgebung an:
  - In Development (`npm run dev`) wird `http://localhost:3001/kabelueberwachung` genutzt.
  - In Production (`npm run build && npm start`) wird `window.location.origin/CPL` verwendet.
- Verbesserte Fehlerbehandlung für JSON-Antworten implementiert.
- **Hinweis:** Für die lokale Entwicklung wird `json-server` benötigt.
  Installation: `npm install -g json-server`
  Starten: `json-server --watch mockData.json --port 3001`
2025-02-11 13:10:04 +01:00

10 lines
292 B
TypeScript

/*
1: Hauptversion (komplettes Redesign oder neue Hauptfeatures).
0: Nebenversion (kleinere, aber bedeutende neue Features).
6: Build-Nummer (interne Entwicklungsiteration).
2: Patch oder Hotfix (Bugfixes oder kleine Änderungen).
*/
const webVersion = "1.0.6.6";
export default webVersion;