From 0cfa7927c1eaece6fbc0f8c19dda737470815162 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Fri, 14 Jul 2023 16:57:13 +0800 Subject: [PATCH] docs: fill DISABLE_ADD_FRIEND env var docs --- website/docs/deployment/environment.md | 1 + .../current/deployment/environment.md | 1 + 2 files changed, 2 insertions(+) diff --git a/website/docs/deployment/environment.md b/website/docs/deployment/environment.md index 72b50d2e..8f3f1513 100644 --- a/website/docs/deployment/environment.md +++ b/website/docs/deployment/environment.md @@ -26,6 +26,7 @@ title: Environment Variable | DISABLE_GUEST_LOGIN | - | Whether to disable the guest login, if "1" or "true" turn off this method | | DISABLE_CREATE_GROUP | - | Whether to disable user create group, if "1" or "true" turn off this method | | DISABLE_PLUGIN_STORE | - | Whether to hide user plugin store entry, if "1" or "true" turn off this method | +| DISABLE_ADD_FRIEND | - | Whether to hide user add friend entry, if "1" or "true" turn off this method | > Some examples of environment variables can be seen: https://github.com/msgbyte/tailchat/blob/master/server/.env.example diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment/environment.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment/environment.md index 3b78d13c..45cc5f00 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment/environment.md +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment/environment.md @@ -26,6 +26,7 @@ title: 环境变量 | DISABLE_GUEST_LOGIN | - | 是否关闭用户游客登录功能, 如果为 "1" 或者 "true" 则关闭该功能 | | DISABLE_CREATE_GROUP | - | 是否关闭用户创建群组功能, 如果为 "1" 或者 "true" 则关闭该功能 | | DISABLE_PLUGIN_STORE | - | 是否隐藏用户插件中心功能, 如果为 "1" 或者 "true" 则关闭该功能 | +| DISABLE_ADD_FRIEND | - | 是否隐藏用户添加好友功能, 如果为 "1" 或者 "true" 则关闭该功能 | > 部分环境变量示例可见: https://github.com/msgbyte/tailchat/blob/master/server/.env.example