fix: require client secrets and sanitize uploaded images

This commit is contained in:
vasily committed 2026-10-16 14:24:02 +08:00
1 parent 1f43b2d065
commit a07c178fda
7 files changed
+78 -24

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ ADMIN_SECRET=replace-with-a-long-random-secret
DB_PATH=./data/proxy.db
MAX_UPLOAD_BYTES=52428800
MAX_IMAGES=8
MAX_IMAGE_PIXELS=25000000
HTTP_TIMEOUT_SECONDS=300
CONNECT_TIMEOUT_SECONDS=15
ALLOWED_ORIGINS=