fdsfsd
This commit is contained in:
parent
2f6e883f4f
commit
402b75c0cd
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue