fix: correct route for form submission
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user