mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 更换Sydney接口
This commit is contained in:
parent
758aeb67a2
commit
cc78143c0e
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue