ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
76.05k stars 58.97k forks source link

[Feature Request] vercel 部署情况下的可以支持upstash同步吗? #5718

Open jiangying000 opened 3 days ago

jiangying000 commented 3 days ago

🥰 需求描述

没有布在独立服务器;所以似乎没法绕过cors,导致没法upstash同步。

所以:vercel 部署情况下的可以支持upstash同步吗?

🧐 解决方案

未知

📝 补充信息

No response

Issues-translate-bot commented 3 days ago

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


Title: [Feature Request] Can upstash synchronization be supported under vercel deployment?

🥰 Description of requirements

It is not deployed on a separate server; so it seems that cors cannot be bypassed, resulting in upstash synchronization being impossible.

So: Can upstash synchronization be supported under vercel deployment?

🧐 Solution

unknown

📝 Supplementary information

No response

lloydzhou commented 3 days ago

按照#5379 的逻辑,应该在客户端使用rust的http client,在网页上使用当前部署的服务器的api做一次转发,这样就能很好的处理cors错误

Issues-translate-bot commented 3 days ago

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


According to the logic of #5379, you should use the rust http client on the client and use the api of the currently deployed server to do a forwarding on the web page, so that cors errors can be handled well