Files
nodeMap/docs/config/README.md
2025-05-28 10:17:25 +02:00

39 lines
953 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- /docs/config/README.md -->
# ⚙️ Konfigurationsübersicht (/config)
Dieses Verzeichnis enthält zentrale Konfigurationsdateien, die das Verhalten der gesamten App steuern.
Hier sind die wichtigsten Dateien, ihre Aufgaben und Verlinkungen zur Dokumentation:
---
## 📦 [`appVersion.js`](./appVersion.md)
- Definiert die aktuelle Version der App (`APP_VERSION`)
- Wird z.B. im `VersionInfoModal` angezeigt
---
## 🗺️ [`layers.js`](./layers.md)
- Enthält alle Leaflet-Layergruppen für die Kartenanzeige
- Zentrale Steuerung der aktiven Layer: TALAS, GMA, Cisco, etc.
---
## 📁 [`paths.js`](./paths.md)
- Berechnet den Basis-Pfad aus `.env.local`
- Liefert `BASE_URL`, z.B. `/talas5`
---
## 🌐 [`urls.js`](./urls.md)
- Erzeugt dynamisch API- und Tile-URLs
- Verwendet `window.location.origin` → keine statischen Ports notwendig
---
Diese Konfiguration macht das Projekt flexibel für mehrere Hosting-Umgebungen.