fix: harden api authentication and validation

This commit is contained in:
que01 committed 2026-09-18 16:37:48 +08:00
1 parent ae5f26baab
commit b89853bc94
5 files changed
+75 -28

No files matched your search

+1
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=