remotes/1693045480750635534/spooky-22
Aevann1 2021-08-26 12:33:26 +02:00
parent 12889e7eef
commit a85b2dcb26
1 changed files with 3 additions and 1 deletions

View File

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