From 30f2f4c01dd249e460e9b4ef30a60c5cc9a2a1dc Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 13 Aug 2021 04:01:54 +0200 Subject: [PATCH] dffd --- files/routes/front.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/routes/front.py b/files/routes/front.py index e2040f236..721787728 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -191,6 +191,8 @@ def front_all(v): if not v and request.path == "/": return redirect("/logged_out") + if v and "logged_out" in request.path: return redirect("/") + try: page = int(request.args.get("page") or 1) except: abort(400)