Add honeypot to contact form
This commit is contained in:
parent
d3465c6ea3
commit
88bac001d8
2 changed files with 10 additions and 6 deletions
|
@ -36,8 +36,9 @@ export default defineEventHandler(async (event) => {
|
|||
console.log(response.body);
|
||||
} catch (error) {
|
||||
console.log(error.statusCode);
|
||||
} finally {
|
||||
// End response without providing data
|
||||
event.node.res.end();
|
||||
}
|
||||
|
||||
// End response without providing data
|
||||
event.node.res.end();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue