fix: harden api authentication and validation

This commit is contained in:
2026-09-18 16:37:48 +08:00
parent ae5f26baab
commit b89853bc94
5 changed files with 75 additions and 28 deletions

View File

@@ -3,6 +3,7 @@ DATABASE_URL=postgresql://postgres:postgres@localhost:5432/personal_brand
API_PORT=3001
ADMIN_PORT=3000
SESSION_SECRET=replace-with-a-long-random-value
DEFAULT_BRAND_ID=00000000-0000-0000-0000-000000000001
OBJECT_STORAGE_ENDPOINT=
OBJECT_STORAGE_BUCKET=
OBJECT_STORAGE_ACCESS_KEY=