Added logging

master
Keith Irwin 2021-12-26 15:51:55 -07:00
parent fdb7e12d0d
commit 260f65884b
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 4 additions and 1 deletions

View File

@ -57,7 +57,10 @@ app.post('/', async (req, res) => {
return res.sendStatus(200)
// hcaptcha failed
} else return res.sendStatus(403)
} else {
console.log(`Failed hCaptcha with data: ${data}`)
return res.sendStatus(403)
}
})
app.listen(PORT, () => {