fix frontpage redirecting

remotes/1693045480750635534/spooky-22
Aevann1 2022-07-23 09:23:55 +02:00
parent 24c44132d8
commit 8621e68044
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def front_all(v, sub=None, subdomain=None):
if v and v.is_banned and not v.unban_utc: return redirect('https://deuxrama.net')
if v and request.path.startswith('/logged_out'):
return redirect(request.full_path.replace('/logged_out','').rstrip('?'))
return redirect(request.full_path.replace('/logged_out','/').rstrip('?'))
if sub: sub = g.db.query(Sub).filter_by(name=sub.strip().lower()).one_or_none()