Skip to content

Commit a3bd540

Browse files
author
Kerwin
committed
fix: change default proxy url
1 parent 56c67f0 commit a3bd540

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ VITE_GLOB_API_URL=/api
44
VITE_APP_API_BASE_URL=http://127.0.0.1:3002/
55

66
# Whether long replies are supported, which may result in higher API fees
7-
VITE_GLOB_OPEN_LONG_REPLY=false
7+
VITE_GLOB_OPEN_LONG_REPLY=true
88

99
# When you want to use PWA
1010
VITE_GLOB_APP_PWA=false

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
`2023-04-03`
44

5-
> 更新默认 `accessToken` 反代地址为 [[acheong08](https://github.com/acheong08)]`https://bypass.churchless.tech/api/conversation`
5+
> 更新默认 `accessToken` 反代地址为 [[pengzhile](https://github.com/pengzhile)]`https://ai.fakeopen.com/api/conversation`
66
77
## Enhancement
88
- 添加 `socks5` 代理认证 [[yimiaoxiehou](https://github.com/Chanzhaoyu/chatgpt-web/pull/999)]
@@ -101,7 +101,7 @@
101101

102102
`2023-03-13`
103103

104-
更新依赖,`access_token` 默认代理为 [acheong08](https://github.com/acheong08)`https://bypass.duti.tech/api/conversation`
104+
更新依赖,`access_token` 默认代理为 [pengzhile](https://github.com/pengzhile)`https://bypass.duti.tech/api/conversation`
105105

106106
## Feature
107107
- `Prompt` 商店在线导入可以导入两种 `recommend.json`里提到的模板 [simonwu53](https://github.com/Chanzhaoyu/chatgpt-web/pull/521)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
1. 你应该首先使用 `API` 方式
7676
2. 使用 `API` 时,如果网络不通,那是国内被墙了,你需要自建代理,绝对不要使用别人的公开代理,那是危险的。
7777
3. 使用 `accessToken` 方式时反向代理将向第三方暴露您的访问令牌,这样做应该不会产生任何不良影响,但在使用这种方法之前请考虑风险。
78-
4. 使用 `accessToken` 时,不管你是国内还是国外的机器,都会使用代理。默认代理为 [acheong08](https://github.com/acheong08) 大佬的 `https://bypass.churchless.tech/api/conversation`,这不是后门也不是监听,除非你有能力自己翻过 `CF` 验证,用前请知悉。[社区代理](https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy)(注意:只有这两个是推荐,其他第三方来源,请自行甄别)
78+
4. 使用 `accessToken` 时,不管你是国内还是国外的机器,都会使用代理。默认代理为 [pengzhile](https://github.com/pengzhile) 大佬的 `https://ai.fakeopen.com/api/conversation`,这不是后门也不是监听,除非你有能力自己翻过 `CF` 验证,用前请知悉。[社区代理](https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy)(注意:只有这两个是推荐,其他第三方来源,请自行甄别)
7979
5. 把项目发布到公共网络时,你应该设置 `AUTH_SECRET_KEY` 变量添加你的密码访问权限,你也应该修改 `index.html` 中的 `title`,防止被关键词搜索到。
8080

8181
切换方式:
@@ -187,7 +187,7 @@ pnpm dev
187187
`ACCESS_TOKEN` 可用:
188188

189189
- `OPENAI_ACCESS_TOKEN``OPENAI_API_KEY` 二选一,同时存在时,`OPENAI_API_KEY` 优先
190-
- `API_REVERSE_PROXY` 设置反向代理,可选,默认:`https://bypass.churchless.tech/api/conversation`[社区](https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy)(注意:只有这两个是推荐,其他第三方来源,请自行甄别)
190+
- `API_REVERSE_PROXY` 设置反向代理,可选,默认:`https://ai.fakeopen.com/api/conversation`[社区](https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy)(注意:只有这两个是推荐,其他第三方来源,请自行甄别)
191191

192192
通用:
193193

kubernetes/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
- name: OPENAI_API_MODEL
3131
value: gpt-3.5-turbo
3232
- name: API_REVERSE_PROXY
33-
value: https://bypass.churchless.tech/api/conversation
33+
value: https://ai.fakeopen.com/api/conversation
3434
- name: AUTH_SECRET_KEY
3535
value: '123456'
3636
- name: TIMEOUT_MS

service/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ OPENAI_API_MODEL=
1414
OPENAI_API_DISABLE_DEBUG=
1515

1616
# Reverse Proxy - Available on accessToken
17-
# Default: https://bypass.churchless.tech/api/conversation
17+
# Default: https://ai.fakeopen.com/api/conversation
1818
# More: https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy
1919
API_REVERSE_PROXY=
2020

service/src/chatgpt/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export async function initApi() {
7373
const model = isNotEmptyString(config.apiModel) ? config.apiModel : 'gpt-3.5-turbo'
7474
const options: ChatGPTUnofficialProxyAPIOptions = {
7575
accessToken: config.accessToken,
76-
apiReverseProxyUrl: isNotEmptyString(config.reverseProxy) ? config.reverseProxy : 'https://bypass.churchless.tech/api/conversation',
76+
apiReverseProxyUrl: isNotEmptyString(config.reverseProxy) ? config.reverseProxy : 'https://ai.fakeopen.com/api/conversation',
7777
model,
7878
debug: !config.apiDisableDebug,
7979
}

0 commit comments

Comments
 (0)