🎨 S3 云端存储支持设置使用路径风格寻址 https://github.com/siyuan-note/siyuan/issues/6559

This commit is contained in:
Liang Ding 2022-11-12 11:03:40 +08:00
parent 1e0b6d7af7
commit a14f700373
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 14 additions and 14 deletions

View file

@ -1053,6 +1053,7 @@ func buildCloudConf() (ret *cloud.Conf, err error) {
ret.SecretKey = Conf.Sync.S3.SecretKey
ret.Bucket = Conf.Sync.S3.Bucket
ret.Region = Conf.Sync.S3.Region
ret.PathStyle = Conf.Sync.S3.PathStyle
case conf.ProviderWebDAV:
ret.Endpoint = Conf.Sync.WebDAV.Endpoint
ret.Username = Conf.Sync.WebDAV.Username