This commit is contained in:
Aevann1 2021-11-23 22:13:54 +02:00
parent f266f2c4c2
commit faa0b93ff5
3 changed files with 26 additions and 2 deletions

View file

@ -305,6 +305,11 @@ def unsubscribe(v, post_id):
g.db.commit()
return {"message": "Post unsubscribed!"}
@app.get("/report_bugs")
@auth_required
def reportbugs(v):
return render_template("reportbugs.html", v=v)
@app.post("/@<username>/message")
@limiter.limit("1/second")
@limiter.limit("10/hour")