Added debugging

master
Keith Irwin 2021-11-24 17:25:56 -07:00
parent a492f8f12c
commit 999504f9df
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@ express().use(express.json())
res.send('Hello')
})
.post('/', async (req, res) => {
console.log(`Received POST`)
console.log(req.body)
// Check token
try {
const data = await verify(process.env.HCAPTCHA_SECRET, req.body['token'])