fix: sydney有代理时忽略反代

This commit is contained in:
ikechan8370 2023-03-07 15:34:13 +08:00
parent 4b66fd08cc
commit 616eb97d32

View file

@ -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
}