Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: S3/WebDAV 数据同步支持设置跳过 HTTPS 证书验证 https://github.com/siyuan-note/siyuan/issues/6609

Liang Dingf9e670a3f641
diff --git a/kernel/conf/sync.go b/kernel/conf/sync.go
index 1c9b7edada..752c18f4cc 100644
--- a/kernel/conf/sync.go
+++ b/kernel/conf/sync.go
@@ -39,18 +39,20 @@ func NewSync() *Sync {
}
type S3 struct {
- Endpoint string `json:"endpoint"` // 服务端点
- AccessKey string `json:"accessKey"` // Access Key
- SecretKey string `json:"secretKey"` // Secret Key
- Bucket string `json:"bucket"` // 存储空间
- Region string `json:"region"` // 存储区域
- PathStyle bool `json:"pathStyle"` // 是否使用路径风格
+ Endpoint string `json:"endpoint"` // 服务端点
+ AccessKey string `json:"accessKey"` // Access Key
+ SecretKey string `json:"secretKey"` // Secret Key
+ Bucket string `json:"bucket"` // 存储空间
+ Region string `json:"region"` // 存储区域
+ PathStyle bool `json:"pathStyle"` // 是否使用路径风格
+ SkipTlsVerify bool `json:"skipTlsVerify"` // 是否跳过 TLS 验证
}
type WebDAV struct {
- Endpoint string `json:"endpoint"` // 服务端点
- Username string `json:"username"` // 用户名
- Password string `json:"password"` // 密码
+ Endpoint string `json:"endpoint"` // 服务端点
+ Username string `json:"username"` // 用户名
+ Password string `json:"password"` // 密码
+ SkipTlsVerify bool `json:"skipTlsVerify"` // 是否跳过 TLS 验证
}
const (