Add environments (spaces) support
All checks were successful
Deploy to Server / deploy (push) Successful in 2m28s

- API client sends _environment param on all content/asset requests
- GET /api/environments endpoint to list configured environments
- EnvironmentSwitcher in Sidebar with i18n label "Space"
- clearSession() also clears environment from sessionStorage
- .env.example documents ADMIN_USERNAME/PASSWORD/SESSION_SECRET

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Peter Meier
2026-03-15 22:46:52 +01:00
parent 6f2c4d8576
commit 261c2fe338
7 changed files with 120 additions and 17 deletions

View File

@@ -10,6 +10,9 @@
"invalidCredentials": "Ungültige Zugangsdaten",
"networkError": "Netzwerkfehler, bitte erneut versuchen"
},
"EnvironmentSwitcher": {
"label": "Space"
},
"Sidebar": {
"dashboard": "Dashboard",
"types": "Typen",