create admin_ui

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Sven laptop
2026-05-06 10:55:31 +02:00
parent 2845f442a3
commit 8cf3fe98cb
40 changed files with 5534 additions and 693 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
set -e
# Create runtime env-config.js for the static app
cat > /usr/share/nginx/html/env-config.js <<'EOF'
window.__ENV__ = {
VITE_AUTH_API: "${VITE_AUTH_API:-http://localhost:5000}",
VITE_TRANSIT_API: "${VITE_TRANSIT_API:-http://localhost:5001}"
}
EOF
exec nginx -g 'daemon off;'