This commit is contained in:
Aevann1 2022-01-24 19:37:37 +02:00
parent cb4386b9b8
commit 1e83371849
19 changed files with 42 additions and 42 deletions

View file

@ -61,5 +61,5 @@ def error_500(e):
def allow_nsfw():
session["over_18"] = int(time.time()) + 3600
redir = request.values.get("redir")
if redir and redir.startswith(request.host_url) or redir.startswith('/'): return redirect(redir)
if redir and redir.startswith(SITE_FULL) or redir.startswith('/'): return redirect(redir)
return redirect('/')