Skip to content
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] #2594

Closed
3 tasks done
OscarXChen opened this issue Aug 10, 2023 · 1 comment
Closed
3 tasks done

[Bug] #2594

OscarXChen opened this issue Aug 10, 2023 · 1 comment

Comments

@OscarXChen
Copy link

OscarXChen commented Aug 10, 2023

为了提高交流效率,我们设立了官方 QQ 群和 QQ 频道,如果你在使用或者搭建过程中遇到了任何问题,请先第一时间加群或者频道咨询解决,除非是可以稳定复现的 Bug 或者较为有创意的功能建议,否则请不要随意往 Issue 区发送低质无意义帖子。

点击加入官方群聊

反馈须知

⚠️ 注意:不遵循此模板的任何帖子都会被立即关闭,如果没有提供下方的信息,我们无法定位你的问题。

请在下方中括号内输入 x 来表示你已经知晓相关内容。

  • 我确认已经在 常见问题 中搜索了此次反馈的问题,没有找到解答;
  • 我确认已经在 Issues 列表(包括已经 Close 的)中搜索了此次反馈的问题,没有找到解答。
  • 我确认已经在 Vercel 使用教程 中搜索了此次反馈的问题,没有找到解答。

描述问题
该项目无法识别部署的环境变量BASE_URL后面的/
例如:无法识别:https://ChatGPT-Next-Web_Best.com/
但是删掉后即可:https://ChatGPT-Next-Web_Best.com
同时,在已部署的项目设置中,更改请求地址时,可以在地址后面加上/,可以正确识别

如何复现
在Vercel中更改部署的环境变量BASE_URL,在正确的请求地址后面加上/

截图
网址后面加上了/的截图
image

一些必要的信息
不必要

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug]

In order to improve communication efficiency, we have set up official QQ groups and QQ channels. If you encounter any problems during use or construction, please join the group or channel for consultation and solve them as soon as possible, unless it is a bug that can be reproduced stably or More creative feature suggestions, otherwise please do not send low-quality meaningless posts to the Issue area.

Click to join the official group chat

Feedback Notice

⚠️ NOTE: Any post that does not follow this template will be closed immediately, and we cannot locate your issue without providing the information below.

Please enter x in the square brackets below to indicate that you already know the relevant content.

  • I confirm that I have searched for this feedback issue in FAQ, no answer found;
  • I confirm that I have searched for this feedback issue in the Issues list (including those that have been closed), but have not found an answer.
  • I confirm that I have searched for this feedback issue in Vercel Tutorial , did not find an answer.

Describe problem
The project does not recognize the / after the deployed environment variable BASE_URL
Example: Unrecognized: https://ChatGPT-Next-Web_Best.com/
But after deleting it: https://ChatGPT-Next-Web_Best.com
At the same time, in the deployed project settings, when changing the request address, you can add / after the address, which can be correctly identified

How ​​to reproduce
Change the deployed environment variable BASE_URL in Vercel, and add / after the correct request address

screenshot
A screenshot with / added after the URL
image

some necessary information
unnecessary

Yidadaa added a commit that referenced this issue Aug 14, 2023
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
PeterZhang-2023 pushed a commit to PeterZhang-2023/ChatGPT-z that referenced this issue Nov 26, 2023
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants