setup admin connection

This commit is contained in:
2026-05-06 12:22:17 +02:00
parent bdb523d4b8
commit 824173e63e
20 changed files with 425 additions and 136 deletions

View File

@@ -2,8 +2,10 @@
PROJECT_NAME=Smash or Pass
ALLOWED_ORIGINS=["http://localhost:5173","http://localhost:8080"]
# Admin gate
ADMIN_ENABLED=true
# Admin account — set both to enable admin login at /login.
# Leave empty to fully disable admin endpoints.
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change-me
# Database (SQLite file path)
DATABASE_URL=sqlite:///./data/sop.db