From 3a328beb824682624ebda64b65d9c2f477128bd6 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Thu, 30 Mar 2023 17:50:30 +0800 Subject: [PATCH] docs: update env unit for FILE_LIMIT --- website/docs/deployment/environment.md | 2 +- .../current/deployment/environment.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/deployment/environment.md b/website/docs/deployment/environment.md index da84eccc..546add0c 100644 --- a/website/docs/deployment/environment.md +++ b/website/docs/deployment/environment.md @@ -19,7 +19,7 @@ title: Environment Variable | MINIO_BUCKET_NAME | tailchat | file service bucket name | | SMTP_SENDER | - | Mail service sender (example: `"Tailchat" example@163.com`) | | SMTP_URI | - | mail service connection address (example: `smtp://username:password@smtp.example.com/?pool=true`) | -| FILE_LIMIT | 1048576 | File/image upload size limit, the default is 1m, please enter a number | +| FILE_LIMIT | 1048576 | File/image upload size limit, the default is 1m, please enter a number(unit: byte) | | EMAIL_VERIFY | - | Whether to enable email verification, if it is "1" or "true", add email verification control when registering | | DISABLE_LOGGER | - | Whether to disable the log output, if "1" or "true" turn off the log on the fly | 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 bfe203de..1d147868 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 @@ -19,7 +19,7 @@ title: 环境变量 | MINIO_BUCKET_NAME | tailchat | 文件服务存储桶名 | | SMTP_SENDER | - | 邮件服务发件人(示例: `"Tailchat" example@163.com`) | | SMTP_URI | - | 邮件服务连接地址(示例: `smtp://username:password@smtp.example.com/?pool=true`) | -| FILE_LIMIT | 1048576 | 文件/图片上传的大小限制,默认为1m,请输入数字 | +| FILE_LIMIT | 1048576 | 文件/图片上传的大小限制,默认为1m,请输入数字,(单位: 字节) | | EMAIL_VERIFY | - | 是否开启邮箱校验, 如果为 "1" 或者 "true" 则在注册时增加邮箱校验控制 | | DISABLE_LOGGER | - | 是否禁用日志输出, 如果为 "1" 或者 "true" 则在运行中关闭日志 |