fdsfds
parent
dbae5871a7
commit
73db5710d4
|
@ -123,8 +123,6 @@ def notifications(v):
|
|||
@auth_desired
|
||||
def front_all(v):
|
||||
|
||||
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 v and v.is_banned and not v.unban_utc: return render_template('errors/500.html', error=True, v=v), 500
|
||||
|
|
Loading…
Reference in New Issue