forked from rDrama/rDrama
1
0
Fork 0

Merge branch 'frost' of https://github.com/Aevann1/Drama into frost

master
kek7198 2021-12-17 21:40:41 -06:00
commit 1ac4422230
1 changed files with 1 additions and 2 deletions

View File

@ -123,8 +123,7 @@ def notifications(v):
@auth_desired
def front_all(v):
if request.host == 'old.rdrama.net' and not (v and (v.admin_level or v.patron)):
return render_template("home.html", v=v, listing=[], next_exists=False, sort='hot', t='all', page=1)
return render_template("home.html", v=v, listing=[], next_exists=False, sort='hot', t='all', page=1)
if not v and request.path == "/" and not request.headers.get("Authorization"): return redirect(f"/logged_out{request.full_path}")