This commit is contained in:
Aevann1 2022-01-11 23:54:41 +02:00
parent 99b0a8ca17
commit 609bbfafc6
12 changed files with 64 additions and 64 deletions

View file

@ -25,7 +25,7 @@ beams_client = PushNotifications(
@app.get("/post/<pid>/<anything>/<cid>")
@app.get("/logged_out/comment/<cid>")
@app.get("/logged_out/post/<pid>/<anything>/<cid>")
@auth_desired
@auth_required
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}")