diff --git a/utils/captcha.js b/utils/captcha.js index 35998eb..2a35c62 100644 --- a/utils/captcha.js +++ b/utils/captcha.js @@ -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,