forked from rDrama/rDrama
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
commit
1ac4422230
|
@ -123,8 +123,7 @@ def notifications(v):
|
||||||
@auth_desired
|
@auth_desired
|
||||||
def front_all(v):
|
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}")
|
if not v and request.path == "/" and not request.headers.get("Authorization"): return redirect(f"/logged_out{request.full_path}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue