Skip to content

Commit

Permalink
[Fix] 🐛 Cloudflare Deploy License Error Harry-zklcdc#443
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-zklcdc committed Jun 30, 2024
1 parent 461e6a7 commit b91b5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudflare/src/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export async function workerFetch(request, env, ctx,home) {
const val = arr.slice(1, arr.length+1).join('=').trim();
cookieObjects[key] = val;
})
if (cookieObjects[AUTH_KEY_COOKIE_NAME] !== CUSTOM_OPTIONS.Go_Proxy_BingAI_AUTH_KEY) {
if (CUSTOM_OPTIONS.Go_Proxy_BingAI_AUTH_KEY.indexOf(cookieObjects[AUTH_KEY_COOKIE_NAME]) == -1) {
isAuth = false;
}
}
Expand Down

0 comments on commit b91b5bc

Please sign in to comment.