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.