master
Aevann1 2021-08-07 13:23:01 +02:00
parent 70cdd9a1b9
commit b0f3bcf496
1 changed files with 1 additions and 2 deletions

View File

@ -130,8 +130,7 @@ def error_503(e, v):
def allow_nsfw():
session["over_18"] = int(time.time()) + 3600
return redirect(request.form.get("redir"))
return redirect(request.form.get("redir", "/"))
@app.get("/error/<error>")