From d11d943615cc60d7c2dd54f6578ca3660ce54eee Mon Sep 17 00:00:00 2001 From: dereklseitz Date: Thu, 21 Aug 2025 16:51:52 -0500 Subject: [PATCH] fix: correct route for form submission --- routes/contactRoutes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/contactRoutes.js b/routes/contactRoutes.js index b5bbc2d..a4354e9 100644 --- a/routes/contactRoutes.js +++ b/routes/contactRoutes.js @@ -13,7 +13,7 @@ module.exports = (contactController, securityMw) => { }); // Define the route for form submissions with all middleware - router.post('/submit-form', + router.post('/', apiLimiter, // The security middleware is now a separate step, // containing both the honeypot check and hCaptcha verification.