fddf
This commit is contained in:
parent
774647c7e8
commit
310c468afa
4 changed files with 5 additions and 5 deletions
|
@ -53,7 +53,7 @@ def post_id(pid, anything=None, v=None):
|
|||
|
||||
if not v and "logged_out" not in request.path: return redirect(f"/logged_out/post/{pid}")
|
||||
|
||||
if v and "logged_out" in request.path: return redirect(f"/post/{pid}")
|
||||
if v and "logged_out" in request.full_path: return redirect(f"/post/{pid}")
|
||||
|
||||
try: pid = int(pid)
|
||||
except Exception as e: pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue