Skip to content

Commit

Permalink
Update free_worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jyx04 authored Jun 11, 2024
1 parent a400a10 commit 5bc3cfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions free_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ if (cookies) {


async function verifyTurnstile(responseToken) {
const removeTurnstile = KV.get('RemoveTurnstile')||'';
const removeTurnstile = await KV.get('RemoveTurnstile')||'';
if (removeTurnstile){return 'true'}
const verifyUrl = 'https://challenges.cloudflare.com/turnstile/v0/siteverify';
const secretKey = await KV.get('TurnstileKeys');
Expand Down Expand Up @@ -889,7 +889,7 @@ if (cookies) {
const WorkerURL=await KV.get('WorkerURL');
const turnstileSiteKey=await KV.get('TurnstileSiteKey');
const websiteName = await KV.get('FreeWebName') || await KV.get('WebName') || 'Haibara AI';
const removeTurnstile = KV.get('RemoveTurnstile')||'';
const removeTurnstile = await KV.get('RemoveTurnstile')||'';
return `
<!DOCTYPE html>
<html lang="en">
Expand Down

0 comments on commit 5bc3cfa

Please sign in to comment.