From 477fc7363236222bcb468b9f6a7801cd2ea375e0 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 29 Jan 2023 11:23:15 +0200 Subject: [PATCH] rename /send_admin to /contact --- files/routes/static.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index 9a70b17de..38e443886 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -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