Rewrite server: FastAPI + auth (users/roles/tokens) + admin WebUI + server-authoritative covers/metadata
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
"""Server-specific settings (env-driven)."""
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
from app.config import COVERS_DIR, DB_PATH, STORE_ROOT
|
||||
|
||||
STORE_VIDEOS_ROOT = Path(os.environ.get("PSP_STORE_VIDEOS_DIR", "/data/store_videos"))
|
||||
ADMIN_USERNAME = os.environ.get("PSP_ADMIN_USERNAME", "admin")
|
||||
ADMIN_PASSWORD = os.environ.get("PSP_ADMIN_PASSWORD", "admin")
|
||||
Reference in New Issue
Block a user