v
This commit is contained in:
parent
82f63b482b
commit
a009c7e5bc
3 changed files with 14 additions and 10 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue