From 616eb97d32f6dbfdb432e84e43e3e88a41a87a52 Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Tue, 7 Mar 2023 15:34:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20sydney=E6=9C=89=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E6=97=B6=E5=BF=BD=E7=95=A5=E5=8F=8D=E4=BB=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/SydneyAIClient.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/SydneyAIClient.js b/utils/SydneyAIClient.js index fe885be..70109c7 100644 --- a/utils/SydneyAIClient.js +++ b/utils/SydneyAIClient.js @@ -58,6 +58,9 @@ export default class SydneyAIClient { ...opts, host: opts.host || Config.sydneyReverseProxy || 'https://www.bing.com' } + if (opts.proxy) { + this.opts.host = 'https://www.bing.com' + } this.debug = opts.debug }