ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] 代理地址部署的时候环境变量里填写可用,但网页里自定义地址就失效

Open
#3,667 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

vercel部署的时候,环境变量里填写base url可以用,但是在页面上直接通过自定义地址填写就不可以用了,不知道是哪里出了问题,请问有什么排查思路吗?
{
"error": true,
"message": "Failed to fetch"
}

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are identified. Reproduce the Vercel deployment with the base URL supplied through an environment variable and then through the webpage’s custom address, compare the resulting requests, and confirm what causes the “Failed to fetch” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
cloud, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.