forked from MarseyWorld/MarseyWorld
fds
parent
b254fd77cb
commit
7c858c6439
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue