fd
This commit is contained in:
parent
eb379a6d8f
commit
8abf3148ed
1 changed files with 3 additions and 1 deletions
|
@ -180,11 +180,13 @@ def frontlist(v=None, sort="hot", page=1,t="all", ids_only=True, filter_words=''
|
|||
return posts
|
||||
|
||||
@app.get("/")
|
||||
@app.get("/logged_out")
|
||||
@auth_desired
|
||||
def front_all(v):
|
||||
|
||||
if v and v.is_banned and not v.unban_utc: return render_template("seized.html")
|
||||
|
||||
if not v and request.full_path == "/": return redirect("/logged_out")
|
||||
|
||||
try: page = int(request.args.get("page") or 1)
|
||||
except: abort(400)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue