mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 16:07:33 +08:00
object storage supports webdav
This commit is contained in:
@@ -86,6 +86,8 @@ func newObjectStorage(config *settings.Config, pathPrefix string) (ObjectStorage
|
||||
return NewLocalFileSystemObjectStorage(config, pathPrefix)
|
||||
} else if config.StorageType == settings.MinIOStorageType {
|
||||
return NewMinIOObjectStorage(config, pathPrefix)
|
||||
} else if config.StorageType == settings.WebDAVStorageType {
|
||||
return NewWebDAVObjectStorage(config, pathPrefix)
|
||||
}
|
||||
|
||||
return nil, errs.ErrInvalidStorageType
|
||||
|
||||
Reference in New Issue
Block a user