forked from rDrama/rDrama
fdfd
parent
9584e0b8e1
commit
5c5a45b6d5
|
@ -126,8 +126,7 @@ def messagereply(v, username, id):
|
|||
notif = Notification(comment_id=new_comment.id, user_id=user.id)
|
||||
g.db.add(notif)
|
||||
|
||||
print(request.referrer)
|
||||
if request.referrer == '/notifications': return redirect("/notifications?all=true")
|
||||
if request.referrer == f'https://{site}/notifications': return redirect("/notifications?all=true")
|
||||
else: return redirect(request.referrer)
|
||||
|
||||
@app.get("/songs/<id>")
|
||||
|
|
Loading…
Reference in New Issue