docs: add token generation command to .env.example
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a8acd91955
commit
99c2e3ed35
|
|
@ -2,6 +2,7 @@
|
|||
# Kopiere diese Datei nach .env und passe die Werte an
|
||||
|
||||
# Flask
|
||||
# Token generieren: python3 -c "import secrets; print(secrets.token_urlsafe(64))"
|
||||
SECRET_KEY=change-me-to-a-random-secret-key
|
||||
FLASK_ENV=production
|
||||
FLASK_DEBUG=0
|
||||
|
|
@ -13,6 +14,7 @@ DATABASE_PATH=./data/minicloud.db
|
|||
UPLOAD_PATH=./data/files
|
||||
|
||||
# JWT
|
||||
# Token generieren: python3 -c "import secrets; print(secrets.token_urlsafe(64))"
|
||||
JWT_SECRET_KEY=change-me-to-another-random-secret-key
|
||||
JWT_ACCESS_TOKEN_EXPIRES=900
|
||||
JWT_REFRESH_TOKEN_EXPIRES=604800
|
||||
|
|
|
|||
Loading…
Reference in New Issue