remotes/1693045480750635534/spooky-22
Aevann1 2021-08-26 12:39:44 +02:00
parent 5c5a45b6d5
commit 3da6c0c197
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ def messagereply(v, username, id):
notif = Notification(comment_id=new_comment.id, user_id=user.id)
g.db.add(notif)
if request.referrer == f'https://{site}/notifications': return redirect("/notifications?all=true")
if request.referrer.endswith('/notifications'): return redirect("/notifications?all=true")
else: return redirect(request.referrer)
@app.get("/songs/<id>")