Rylan Cai
Rylan Cai
> 抱歉,我更换了一组密码之后问题就消失了。我丢失了会报错的那组密码。请问您是否可以告诉我vercel部署后,环境变量中的ACCESS_CODE存储在哪个源码文件中吗?我想去部署历史中找一下。 印象中 vercel 的构建快照里面不含环境变量,可能找不到了。
> @cy948 what's your idea about this? Perhaps we can restrict access to all routes by non-authenticated users and set up a login page.
I think the current protection of resources is sufficient. By specifying `ACCESS_CODE` or using `OAuth`, we can prevent unauthorized users from abusing our resources. - If you want personalized page...
> To give some context, the type of auth we are looking for is what OpenAI have implemented, where you need to authenticate BEFORE seeing the front end, we are...
Regarding the above requirements: - `1, 4, 5`. Multi-user management does not seem to be a core feature of the open-source version, as many similar AIChat applications do not offer...
> @cy948 PR 中的说明,能否补充到 Auth 的 docs 中? 是这里 -> `contributing/Basic/Add-New-Authentication-Providers.md` 的文档吗?
> > 是这里 -> contributing/Basic/Add-New-Authentication-Providers.md 的文档吗? > > 对 已补充文档,请 review 一下 😊
您好,您是在自己的服务器上用Nginx反向代理了lobechat的preview站点吗?
> 对的 > 方便提供一下您的反向代理的配置吗?
> @cy948 老师,还有一个问题,我们封装项目为docker的时候很慢,有啥提速方法吗?RUN pnpm i主要是这一步一直失败 如果你的服务器在中国大陆,需要更改镜像源,就像文件里面说的。https://github.com/lobehub/lobe-chat/blob/cd506dde852976c542ff7873ee8da5cdfb0b7247/Dockerfile#L24 关于封装镜像很慢,也就是以下这一步 ```Dockerfile RUN pnpm run build:docker # run build standalone for docker version ``` 解决方法:你可以手动在`next.config.mjs`里面关闭 nextjs 在构建时的 eslint 和 type 检查。 ```mjs const nextConfig...