Auto-generate SESSION_SECRET_KEY when not provided
If the env var is unset, a random key is generated at startup. This removes a manual setup step. The README and .env.example are updated to reflect that the variable is now optional (but recommended in production for session persistence across restarts). https://claude.ai/code/session_018iMt5qm4j9bk8wzytLC3E6
This commit is contained in:
@@ -25,5 +25,6 @@ LIDARR_QUALITY_PROFILE_ID=1
|
||||
LIDARR_ROOT_FOLDER=/music
|
||||
|
||||
# App
|
||||
SESSION_SECRET_KEY=change-me-to-a-random-secret
|
||||
# SESSION_SECRET_KEY is auto-generated if omitted. Set it explicitly so sessions survive restarts.
|
||||
# SESSION_SECRET_KEY=
|
||||
DATABASE_PATH=bellhop.db
|
||||
|
||||
Reference in New Issue
Block a user