This commit is contained in:
Aevann1 2022-01-24 21:40:58 +02:00
parent 4ba3814fd4
commit 073bfa8fcd
5 changed files with 8 additions and 8 deletions

View file

@ -27,7 +27,7 @@ CF_HEADERS = {"Authorization": f"Bearer {CF_KEY}", "Content-Type": "application/
@auth_desired
def post_pid_comment_cid(cid, pid=None, anything=None, v=None):
if not v and not request.path.startswith('/logged_out'): return redirect(f"/logged_out{request.full_path}")
if not v and not request.path.startswith('/logged_out'): return redirect(f"{SITE_FULL}/logged_out{request.full_path}")
if v and request.path.startswith('/logged_out'): v = None