forked from rDrama/rDrama
dfs
parent
a728578adc
commit
faad89a968
|
@ -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 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)
|
try: page = int(request.values.get("page") or 1)
|
||||||
except: abort(400)
|
except: abort(400)
|
||||||
|
|
Loading…
Reference in New Issue