diff --git a/backend-api/backend-api.go b/backend-api/backend-api.go index 0f7ebb9..c003a7f 100644 --- a/backend-api/backend-api.go +++ b/backend-api/backend-api.go @@ -146,10 +146,6 @@ func ProxyAll(r *ghttp.Request) { if len(matches) > 1 { modifiedBody = strings.Replace(modifiedBody, "wss://"+matches[1]+"/client/hubs/conversations?", WsUpStream+"/client/hubs/conversations?host="+matches[1]+"&", -1) - g.Log().Debug(ctx, "wss替换成ws", matches[1]) - } else { - - g.Log().Debug(ctx, "wss替换成ws失败", bodyStr) } } diff --git a/config.yaml b/config.yaml index 15a494c..1b0bd78 100644 --- a/config.yaml +++ b/config.yaml @@ -55,13 +55,15 @@ modules: enable: 1 # 接入网关地址 -CHATPROXY: "http://host.docker.internal:7999" -ARKOSE_URL: "https://chatgpt.ggss.club/arkose/v2/" +CHATPROXY: "https://demo.xyhelper.cn" +#CHATPROXY: "http://host.docker.internal:7999" +#CHATPROXY: "https://chatgpt.ggss.club/gateway" +#ARKOSE_URL: "https://chatgpt.ggss.club/arkose/v2/" # 接入网关的authkey -AUTHKEY: "maidou" +AUTHKEY: "xyhelper" ONLYTOKEN: false CDNHOST: "https://file.chatgpt.ggss.club" ASSET_PREFIX: "https://cdn.chatgpt.ggss.club" # websocket服务地址 -WS_SERVICE: "ws://host.docker.internal:7999" +WS_SERVICE: "ws://127.0.0.1:7999" # 5a07e29c-31d8-4976-ba66-f183598587d9