-
Notifications
You must be signed in to change notification settings - Fork 60k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] DISABLE_GPT4
漏洞:未刷新的前端仍能访问后端接口
#1815
Labels
bug
Something isn't working
Comments
Dar-Xs
changed the title
[Bug]
[Bug] Jun 5, 2023
DISABLE_GPT4
漏洞;未刷新的前端仍能访问后端接口DISABLE_GPT4
漏洞:未刷新的前端仍能访问后端接口
Yidadaa
added a commit
that referenced
this issue
Jun 6, 2023
fix: #1815 refuse to serve when disable gpt4
Yidadaa
added a commit
that referenced
this issue
Jun 6, 2023
jinker
pushed a commit
to jinker/ChatGPT-Next-Web
that referenced
this issue
Jun 19, 2023
jinker
pushed a commit
to jinker/ChatGPT-Next-Web
that referenced
this issue
Jun 19, 2023
alchemist139
pushed a commit
to alchemist139/ChatGPT-Next-Web
that referenced
this issue
Sep 21, 2023
alchemist139
pushed a commit
to alchemist139/ChatGPT-Next-Web
that referenced
this issue
Sep 21, 2023
fix: ChatGPTNextWeb#1815 refuse to serve when disable gpt4
alchemist139
pushed a commit
to alchemist139/ChatGPT-Next-Web
that referenced
this issue
Sep 21, 2023
chenzeyu
pushed a commit
to neutronsg/ChatGPT-Next-Web
that referenced
this issue
Nov 8, 2023
chenzeyu
pushed a commit
to neutronsg/ChatGPT-Next-Web
that referenced
this issue
Nov 8, 2023
gaogao1030
pushed a commit
to gaogao1030/ChatGPT-Next-Web
that referenced
this issue
May 16, 2024
gaogao1030
pushed a commit
to gaogao1030/ChatGPT-Next-Web
that referenced
this issue
May 16, 2024
fix: ChatGPTNextWeb#1815 refuse to serve when disable gpt4
gaogao1030
pushed a commit
to gaogao1030/ChatGPT-Next-Web
that referenced
this issue
May 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bug 描述
二次部署时设置了环境变量
DISABLE_GPT4=1
,刷新前端页面,曾经使用GPT4打开的聊天窗口仍能继续使用GPT4。重现
重现该行为的步骤:
DISABLE_GPT4=1
预期行为
曾经使用 GPT4 打开的聊天窗口即使通过修改网页代码选中了 GPT4 API,后端也不应受理该请求。
截图
此时GPT4能正常使用,怀疑是后端仍然存在 GPT4 API未更新的前端API选项,虽然范围已经限缩,但旧的选项仍然被选中。
部署
第二次部署使用了构建缓存
Desktop (please complete the following information):
Additional Logs
Add any logs about the problem here.
The text was updated successfully, but these errors were encountered: