-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Question] 部署到本地,浏览器报跨域错误 #23
Comments
👀 @ccdanpian |
很奇怪,上周试过一次还是可以的,不知道为啥忽然报错了。 |
另外,请问能出个指导文档吗? 我是想做一个日历的API,可以在lobchat里语义输入todo或者记事,自动同步到群辉的日历上去。我想第一步只支持自己的群辉,下一步再看看能接其他日历吗。 |
抱歉,我没订阅这个仓库的issue,这个 miss 了。几个问题一个一个解答:
这个应该是我的问题,在 #24 修复了。
具体需要什么方面的说明文档?私有化部署吗?
插件 manifest 不加网关的时候,会直接走 LobeChat 的网关: https://github.com/lobehub/lobe-chat/blob/main/src/app/api/plugin/gateway/route.ts#L10 ,因此不需要你额外部署一个网关。 插件的本地网关只是为了解决服务端跨域调用到本地开发环境的问题。如果你的插件服务不在本地,直接可以通过服务调用到,那么就不需要配置本地网关。
那我理解你只需要部署一个自己的日历插件服务,然后这个服务有对应托管 比如你的日历插件服务托管地址是 abc.com。安装自定义插件时填 |
🧐 问题描述 | Proposed Solution
git clone
npm i
npm run dev
📝 补充信息 | Additional Information
No response
The text was updated successfully, but these errors were encountered: