diff --git a/cloudflare/bingapi.js b/cloudflare/bingapi.js index 50eca6088e..583db8d76d 100644 --- a/cloudflare/bingapi.js +++ b/cloudflare/bingapi.js @@ -1,8 +1,8 @@ const AUTHOR = 'Harry-zklcdc/go-proxy-bingai'; const SPILT = '\x1e'; -const BING_ORIGIN = 'http://localhost:8080'; -const SYDNEY_ORIGIN = 'http://localhost:8080'; +const BING_ORIGIN = 'https://www.bing.com'; +const SYDNEY_ORIGIN = 'https://sydney.bing.com'; export const bingchatModel = { PRECISE: 'Precise', // 精准 diff --git a/wrangler.toml b/wrangler.toml index 8c77ad92eb..ba0634de32 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -4,4 +4,12 @@ compatibility_date = "2023-07-31" workers_dev = true rules = [ { type = "ESModule", globs = ["**/*.js"], fallthrough = true } -] \ No newline at end of file +] + +[placement] +mode = "smart" + +[vars] +APIKEY = "sk-xxxxxxxxxxxxxx" +BYPASS_SERVER = "https://bypass.zklcdc.xyz" +Go_Proxy_BingAI_USER_TOKEN = "1JZEi_Pmvqx2EX8lNGSHf2p7IEL5G7Q7RO9SYFfpVgaVQ9s3bTIXBiWRHWTMpzqoyq_qVKsmrb3IqMJ1hD9Bq1Ohb-RN1zXNODPWRKxNUSpWg8L1e5A5WdnFKpPFIUUyK_97YKKTneDkRCFgqfcKUyY1YjJ8oXpw3vT2ATd-lZr-DNznLaRO8MzhHuce-lACIQ95fjEfHDmRX7vZCZR4Ddw" \ No newline at end of file