From faad89a968b957de12a4380d2b7350537572f6ff Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 1 Oct 2021 22:10:26 +0200 Subject: [PATCH] dfs --- files/routes/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index 5766ba109..a2b46d480 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -116,7 +116,7 @@ def front_all(v): if not v and request.path == "/" and not request.headers.get("Authorization"): return redirect(f"/logged_out{request.full_path}") - if v and "logged_out" in request.full_path: v = None + if v and request.path.startswith('logged_out'): v = None try: page = int(request.values.get("page") or 1) except: abort(400)