forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-12-28 09:07:30 +02:00
parent 14525995be
commit 666e5afb64
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ def front_all(v):
if not v and not request.headers.get("Authorization"):
if request.path.startswith('/logged_out/mobile'):
if g.system == "desktop": return redirect(f"/logged_out{request.full_path.replace('/mobile','')}")
if g.system == "desktop": return redirect(request.full_path.replace('/mobile',''))
elif request.path.startswith('/logged_out'):
if g.system == "mobile": return redirect(f"/logged_out/mobile{request.full_path.replace('/logged_out','')}")
else: