ChatGPTNextWeb / ChatGPTNextWeb/NextChat
[Bug] docker 部署 有跨域问题
Open
bug
- Dominant language
- TypeScript
- Stars
- 88.8k
- Forks
- 59.1k
- PR merge metrics
- No merged PRs in 30d
Description
### 📦 Deployment Method
Docker
### 📌 Version
2.15.8
### 💻 Operating System
Ubuntu
### 📌 System Version
ubuntu 22.04.2
### 🌐 Browser
Chrome
### 📌 Browser Version
124.0.6367.61
### 🐛 Bug Description
docker部署, 大模型服务是k8s启动,需要通过域名访问, 通过访问ip:3000,添加相关域名,配置hosts, 浏览器提示跨域错误;
同样的大模型配置, 基于windows的版本, 正常使用; 通过本地源码部署, yarn build yarn start; 也是有跨域错误, 是某个配置没有生效吗?
### 📷 Recurrence Steps
如上
### 🚦 Expected Behavior
如上
### 📝 Additional Information
无
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.