going back to hcaptcha
This commit is contained in:
parent
fe55612d1a
commit
5f401f0588
|
@ -1,7 +1,7 @@
|
||||||
const fetch = require('node-fetch')
|
const fetch = require('node-fetch')
|
||||||
|
|
||||||
async function checkCaptcha(response) {
|
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',
|
method: 'POST',
|
||||||
body: new URLSearchParams({
|
body: new URLSearchParams({
|
||||||
'response': response,
|
'response': response,
|
||||||
|
|
Loading…
Reference in New Issue