remotes/1693045480750635534/spooky-22
Aevann1 2022-05-26 01:42:34 +02:00
parent b254fd77cb
commit 7c858c6439
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ def notifications(v):
@auth_desired
def front_all(v, sub=None, subdomain=None):
if not v and not request.path.startswith('/logged_out'): return redirect(f"/logged_out{request.full_path}")
if not v and not request.path.startswith('/logged_out'): return redirect(f"/logged_out{request.path}")
if v and request.path.startswith('/logged_out'): return redirect(request.full_path.replace('/logged_out',''))
if sub: sub = g.db.query(Sub).filter_by(name=sub.strip().lower()).one_or_none()