master
Aevann1 2022-05-27 23:28:10 +02:00
parent 3f6cedc606
commit a355742049
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ app.config["VERSION"] = "1.0.0"
app.config['MAX_CONTENT_LENGTH'] = 100 * 1024 * 1024
app.config["SESSION_COOKIE_SECURE"] = True
app.config["SESSION_COOKIE_SAMESITE"] = "Lax"
app.config["PERMANENT_SESSION_LIFETIME"] = 10 * 60 * 60 * 24 * 365
app.config["PERMANENT_SESSION_LIFETIME"] = 60 * 60 * 24 * 365
app.config['SESSION_REFRESH_EACH_REQUEST'] = False
app.config["DEFAULT_COLOR"] = environ.get("DEFAULT_COLOR", "ff0000").strip()
app.config["DEFAULT_THEME"] = environ.get("DEFAULT_THEME", "midnight").strip()