From cc78143c0efc320832daa7b9debd77c1ebdde4f8 Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Tue, 23 May 2023 10:42:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=8D=A2Sydney=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/SydneyAIClient.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/SydneyAIClient.js b/utils/SydneyAIClient.js index 43f3cc6..3000f83 100644 --- a/utils/SydneyAIClient.js +++ b/utils/SydneyAIClient.js @@ -109,8 +109,8 @@ export default class SydneyAIClient { let accessible = !(await isCN()) || this.opts.proxy if (accessible && !Config.sydneyForceUseReverse) { // 本身能访问bing.com,那就不用反代啦,重置host - logger.info('change hosts to https://www.bing.com') - this.opts.host = 'https://www.bing.com' + logger.info('change hosts to https://edgeservices.bing.com') + this.opts.host = 'https://edgeservices.bing.com/edgesvc' } logger.mark('使用host:' + this.opts.host) let response = await fetch(`${this.opts.host}/turing/conversation/create`, fetchOptions)