fix: correct route for form submission

This commit is contained in:
2025-08-21 16:51:52 -05:00
parent 9cf06401f0
commit d11d943615

View File

@@ -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.