From a355742049e5b40c1d0aee8d5502ea61572f10e5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 27 May 2022 23:28:10 +0200 Subject: [PATCH] sfd --- files/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()