going back to hcaptcha

This commit is contained in:
unknown 2023-03-03 19:17:39 +01:00
parent fe55612d1a
commit 5f401f0588
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
const fetch = require('node-fetch')
async function checkCaptcha(response) {
const confirm = await (await fetch('https://challenges.cloudflare.com/turnstile/v0/siteverify', {
const confirm = await (await fetch('https://hcaptcha.com/siteverify', {
method: 'POST',
body: new URLSearchParams({
'response': response,