This commit is contained in:
Aevann1 2022-01-12 00:57:05 +02:00
parent c8f3a39355
commit 7a5aac2a63
4 changed files with 5 additions and 5 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_required
@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}")