Rylan Cai

Results 191 comments of Rylan Cai

> @cy948 换成从 serverConfigStore 读了以后,还需要 `NEXT_PUBLIC` 变量吗? `src/store/user/slices/auth/action.ts` 这块还在用这个变量,也需要换成从 serverConfigStore 读吗?

> > `src/store/user/slices/auth/action.ts` 这块还在用这个变量,也需要换成从 serverConfigStore 读吗? > > 感觉如果可以的话,换成 serverConfigStore 读更好,这样 docker 估计就不会有 BreakingChange 了。 > > 可以在 auth Slice 里加个方法: > > ``` > get enabledNextAuth: ()=>{ > return...

@arvinxx 在[这个Commit](https://github.com/lobehub/lobe-chat/pull/2364/commits/d8da7f816b8439199f6f2b6a0dca977cd2235289)中。我把前台的 enableAuth, enableNextAuth 的判断都从 serverConfigStore 里读。后台保持不变,仍然从环境变量读。

> 提bug:原来配置了webrtc云端同步,再通过url settings导入配之后,webrtc配置会被清空 收到,正在排查问题,感谢您的反馈。

> 建议只update传入的field,不覆盖其他内容 谢谢您的建议,已定位具体问题,有些复杂,需要一段时间才能修复。

> > send from client? > > I can now see the request direct to the API endpoint in the broswer console, where CORS error is reported. Could you show...

Could u please help us test whether the bug would produce on the [fix preview](https://lobe-chat-git-fix-fetch-on-client-cy948s-projects.vercel.app/)? For security reason, please use a temporarily key to test. Fix detail in #2519

> In the fix preview, the request is sent to the backend, which avoid CORS error. However, this does not provide the option to switch between client request and server...