diff --git a/files/__main__.py b/files/__main__.py index ebd1794ab..3f0a61e25 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -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()