feat: add database indexes, implement CORS configuration, and lazy-load frontend routes
Build and Push Multi-Platform Images / build-and-push (push) Successful in 35s

This commit is contained in:
2026-05-10 22:21:01 +02:00
parent aa4c181b0c
commit 1ed3afd2e2
6 changed files with 52 additions and 35 deletions
+6
View File
@@ -44,3 +44,9 @@ VITE_API_URL=
# Platzhalter {Jahr} wird zur Laufzeit durch das Jahr des Eingangsdatums ersetzt
BELEGNUMMER_GET_URL=https://beispiel-api.de/get-number/{Jahr}
BELEGNUMMER_SET_URL=https://beispiel-api.de/set-number/{Jahr}/{Nummer}
# --- CORS ---
# Erlaubte Frontend-Origin für CORS. In Produktion PFLICHT (z.B. https://paperless.example.com).
# Leer lassen für lokale Entwicklung (erlaubt alle Origins).
# NODE_ENV=production ohne CORS_ORIGIN blockiert alle Cross-Origin-Anfragen.
CORS_ORIGIN=