This commit is contained in:
Aevann1 2022-02-11 20:44:12 +02:00
parent 589d028b20
commit 19f8c863ac
5 changed files with 8 additions and 8 deletions

View file

@ -144,7 +144,7 @@ def front_all(v, sub=None):
if not v and request.path == "/" and not request.headers.get("Authorization"):
return redirect(f"{SITE_FULL}/logged_out{request.full_path}")
if v and request.path.startswith('/logged_out'): v = None
if v and request.path.startswith('/logged_out'): return redirect(SITE_FULL + request.full_path.replace('/logged_out',''))
try: page = max(int(request.values.get("page", 1)), 1)
except: abort(400)