remotes/1693045480750635534/spooky-22
Aevann1 2021-09-25 23:19:58 +02:00
parent b54890bd46
commit 3928a80fa9
1 changed files with 2 additions and 1 deletions

View File

@ -244,7 +244,8 @@ def award_post(pid, v):
g.db.add(post.author)
g.db.commit()
return redirect(request.referrer)
if request.referrer: return redirect(request.referrer)
else: return redirect("/")
@app.post("/comment/<cid>/awards")