jesus christ im an idiot
This commit is contained in:
parent
f06fee1414
commit
87e4bb59df
4 changed files with 13 additions and 0 deletions
|
@ -152,6 +152,8 @@ def post_id(pid, anything=None, v=None, sub=None):
|
|||
if not v and not request.path.startswith('/logged_out') and not request.headers.get("Authorization"):
|
||||
return redirect(f"{SITE_FULL}/logged_out{request.full_path}")
|
||||
|
||||
if v and request.path.startswith('/logged_out'): v = None
|
||||
|
||||
try: pid = int(pid)
|
||||
except Exception as e: pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue