mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 22:07:10 +00:00
fix: sydney有代理时忽略反代
This commit is contained in:
parent
4b66fd08cc
commit
616eb97d32
1 changed files with 3 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ export default class SydneyAIClient {
|
||||||
...opts,
|
...opts,
|
||||||
host: opts.host || Config.sydneyReverseProxy || 'https://www.bing.com'
|
host: opts.host || Config.sydneyReverseProxy || 'https://www.bing.com'
|
||||||
}
|
}
|
||||||
|
if (opts.proxy) {
|
||||||
|
this.opts.host = 'https://www.bing.com'
|
||||||
|
}
|
||||||
this.debug = opts.debug
|
this.debug = opts.debug
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue