feat: 支持Bing的反代,已解决sydney不可用问题

This commit is contained in:
ikechan8370 2023-03-04 13:39:35 +08:00
parent 7c2023e3bf
commit 2769c08e1a
3 changed files with 9 additions and 2 deletions

View file

@ -57,7 +57,7 @@ export default class SydneyAIClient {
constructor (opts) {
this.opts = {
...opts,
host: opts.host || 'https://www.bing.com'
host: opts.host || Config.sydneyReverseProxy || 'https://www.bing.com'
}
this.debug = opts.debug
}