From f1e8e7b142c8fe66cb588176a63b19244200c8af Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 24 Dec 2021 03:18:30 +0200 Subject: [PATCH] sfd --- files/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/__main__.py b/files/__main__.py index 0137a5ea8..9c3b7a3fc 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -38,6 +38,7 @@ app.config['MAX_CONTENT_LENGTH'] = 8 * 1024 * 1024 app.config["SESSION_COOKIE_SECURE"] = True app.config["SESSION_COOKIE_SAMESITE"] = "Lax" app.config["PERMANENT_SESSION_LIFETIME"] = 60 * 60 * 24 * 365 +app.config["SESSION_REFRESH_EACH_REQUEST"] = True app.config["SLOGAN"] = environ.get("SLOGAN", "").strip() app.config["DEFAULT_COLOR"] = environ.get("DEFAULT_COLOR", "ff0000").strip() app.config["DEFAULT_THEME"] = environ.get("DEFAULT_THEME", "midnight").strip()