This commit is contained in:
Aevann1 2022-03-19 13:37:43 +02:00
parent 82f63b482b
commit a009c7e5bc
3 changed files with 14 additions and 10 deletions

View file

@ -151,6 +151,8 @@ def front_all(v, sub=None, subdomain=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
try: page = max(int(request.values.get("page", 1)), 1)
except: abort(400)