diff --git a/files/routes/static.py b/files/routes/static.py index a8468b468..57e30f9e3 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -261,7 +261,7 @@ def contact(v): else: template = 'CHRISTMAS/' return render_template(f"{template}contact.html", v=v) -@app.post("/contact") +@app.post("/send_admin") @limiter.limit("1/second") @auth_required @validate_formkey diff --git a/files/templates/contact.html b/files/templates/contact.html index 0383ea7bc..7a580cd7b 100644 --- a/files/templates/contact.html +++ b/files/templates/contact.html @@ -26,9 +26,10 @@ -