diff --git a/README.md b/README.md index ca8dd7e8459e..431bec340751 100644 --- a/README.md +++ b/README.md @@ -393,7 +393,7 @@ This project provides some additional configuration items set with environment v | `OPENAI_API_KEY` | Yes | This is the API key you apply on the OpenAI account page | `sk-xxxxxx...xxxxxx` | | `OPENAI_PROXY_URL` | No | If you manually configure the OpenAI interface proxy, you can use this configuration item to override the default OpenAI API request base URL | `https://api.chatanywhere.cn/v1`
The default value is
`https://api.openai.com/v1` | | `OPENAI_FUNCTION_REGIONS` | No | When you deploy Lobe-Chat using Vercel and need to specify the region for the Edge Function that handles requests to the OpenAI API, you can use this configuration. The value should be a comma-separated array of strings. | `iad1,sfo1` | -| `ACCESS_CODE` | No | Add a password to access this service; the password should be a 6-digit number or letter | `awCT74` or `e3@09!` | +| `ACCESS_CODE` | No | Add a password to access this service; you can set a long password to avoid leaking | `awCTe)re_r74` or `rtrt_ewee3@09!` | > \[!NOTE] > diff --git a/README.zh-CN.md b/README.zh-CN.md index bfc2c1e8558f..51b5553fb207 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -365,7 +365,7 @@ $ docker run -d -p 3210:3210 \ | `OPENAI_API_KEY` | 必选 | 这是你在 OpenAI 账户页面申请的 API 密钥 | `sk-xxxxxx...xxxxxx` | | `OPENAI_PROXY_URL` | 可选 | 如果你手动配置了 OpenAI 接口代理,可以使用此配置项来覆盖默认的 OpenAI API 请求基础 URL | `https://api.chatanywhere.cn/v1`
默认值:
`https://api.openai.com/v1` | | `OPENAI_FUNCTION_REGIONS` | 可选 | 当你使用 Vercel 部署 Lobe-Chat,而且有需求指定响应调用 OpenAI 接口的请求的 Edge Function 的 Region 时,可以使用该配置进行配置,该值的类型为逗号分隔的字符串数组 | `iad1,sfo1` | -| `ACCESS_CODE` | 可选 | 添加访问此服务的密码,密码应为 6 位数字或字母 | `awCT74` 或 `e3@09!` | +| `ACCESS_CODE` | 可选 | 添加访问此服务的密码,你可以设置一个长密码以防被爆破 | `awCTe)re_r74` or `rtrt_ewee3@09!` | > \[!NOTE] > diff --git a/docs/Environment-Variable.md b/docs/Environment-Variable.md index 0b96ff02711a..e0de551eb09f 100644 --- a/docs/Environment-Variable.md +++ b/docs/Environment-Variable.md @@ -27,9 +27,9 @@ LobeChat provides additional configuration options during deployment, which can ### `ACCESS_CODE` - Type: Optional -- Description: Add a password to access the LobeChat service, the password should be 6 digits or letters +- Description: Add a password to access the LobeChat service, ; you can set a long password to avoid leaking. - Default: `-` -- Example: `awCT74` or `e3@09!` +- Example: `awCTe)re_r74` or `rtrt_ewee3@09!` ### `NEXT_PUBLIC_CUSTOM_MODELS` diff --git a/docs/Environment-Variable.zh-CN.md b/docs/Environment-Variable.zh-CN.md index ea70b6896753..058b95d4fb9d 100644 --- a/docs/Environment-Variable.zh-CN.md +++ b/docs/Environment-Variable.zh-CN.md @@ -27,9 +27,9 @@ LobeChat 在部署时提供了一些额外的配置项,使用环境变量进 ### `ACCESS_CODE` - 类型:可选 -- 描述:添加访问 LobeChat 服务的密码,密码应为 6 位数字或字母 +- 描述:添加访问 LobeChat 服务的密码,你可以设置一个长密码以防被爆破 - 默认值:- -- 示例:`awCT74` 或 `e3@09!` +- 示例:`awCTe)re_r74` or `rtrt_ewee3@09!` ### `NEXT_PUBLIC_CUSTOM_MODELS`