require client-key for uploads

This commit is contained in:
2025-04-15 07:44:20 -04:00
parent 350a8aaab7
commit e0c89b4f21
7 changed files with 110 additions and 13 deletions

7
.env.example Normal file
View File

@@ -0,0 +1,7 @@
# Required for file uploads
CLIENT_KEY=your-secret-key-here
# Optional configurations
UPLOAD_FOLDER=tmp/uploads
DEBUG=False
MAX_CONTENT_LENGTH=16777216 # 16MB in bytes