From d25e58565125fd088e9be3c98fb7cfed3729de1d Mon Sep 17 00:00:00 2001 From: krau Date: Sat, 31 Jan 2026 13:18:02 +0000 Subject: [PATCH] deploy: 70f71721625858905e7dbe68f57cc009ba9ac3ee --- deployment/configuration/index.html | 6 +++--- en/deployment/configuration/index.html | 6 +++--- en/sitemap.xml | 2 +- sitemap.xml | 2 +- zh/sitemap.xml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/deployment/configuration/index.html b/deployment/configuration/index.html index f6da81e..716adec 100644 --- a/deployment/configuration/index.html +++ b/deployment/configuration/index.html @@ -146,7 +146,7 @@ SaveAnyBot 需要读取工作目录下的 config.toml 文件作为配置文件, secret = "your-rpc-secret" remove_after_transfer = true

存储端列表 -#

存储端列表用于定义 Bot 支持的存储位置, 每个存储端需要指定名称、类型和相关配置, 使用双中括号语法 [[storages]] 定义.

每一个存储端至少需要以下字段:

示例, 这是一个包含本地存储和 webdav 存储的配置:

[[storages]]
+#

存储端列表用于定义 Bot 支持的存储位置, 每个存储端需要指定名称、类型和相关配置, 使用双中括号语法 [[storages]] 定义.

每一个存储端至少需要以下字段:

  • name: 存储端名称, 用于在 Bot 中识别, 需要唯一
  • enable: 是否启用该存储端, 默认为 true
  • type: 存储端类型, 目前支持以下类型:
    • local: 本地磁盘
    • alist: Alist
    • webdav: WebDAV
    • s3: aws S3 及其他兼容 S3 的服务
    • rclone: 调用 rclone 实现上传
    • telegram: 上传到 Telegram

示例, 这是一个包含本地存储和 webdav 存储的配置:

[[storages]]
 name = "本地存储"
 type = "local"
 enable = true
@@ -191,6 +191,6 @@ SaveAnyBot 需要读取工作目录下的 config.toml 文件作为配置文件,
 # 临时下载文件夹配置
 [temp]
 base_path = "./cache"
-
\ No newline at end of file diff --git a/en/deployment/configuration/index.html b/en/deployment/configuration/index.html index 4a5f79d..701e67c 100644 --- a/en/deployment/configuration/index.html +++ b/en/deployment/configuration/index.html @@ -51,7 +51,7 @@ English