rename /send_admin to /contact

pull/105/head
Aevann 2023-01-29 11:23:15 +02:00
parent 70347cd609
commit 477fc73632
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ def api(v):
def contact(v:Optional[User]):
return render_template("contact.html", v=v, msg=get_msg())
@app.post("/send_admin")
@app.post("/contact")
@limiter.limit("1/second;1/2 minutes;10/day")
@limiter.limit("1/second;1/2 minutes;10/day", key_func=get_ID)
@auth_required