Added logging
parent
fdb7e12d0d
commit
260f65884b
5
index.js
5
index.js
|
@ -57,7 +57,10 @@ app.post('/', async (req, res) => {
|
||||||
return res.sendStatus(200)
|
return res.sendStatus(200)
|
||||||
|
|
||||||
// hcaptcha failed
|
// hcaptcha failed
|
||||||
} else return res.sendStatus(403)
|
} else {
|
||||||
|
console.log(`Failed hCaptcha with data: ${data}`)
|
||||||
|
return res.sendStatus(403)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
app.listen(PORT, () => {
|
app.listen(PORT, () => {
|
||||||
|
|
Loading…
Reference in New Issue