From 8621e68044b3894e273faf625633256e5b7927d1 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 23 Jul 2022 09:23:55 +0200 Subject: [PATCH] fix frontpage redirecting --- files/routes/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index 8a0848e869..1723e1eac1 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -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()