feat(obs): 支持华为云obs存储
This commit is contained in:
@@ -187,7 +187,7 @@ func extFromMime(mime string) string {
|
||||
|
||||
// isProviderScheme checks if the path uses a provider:// scheme (local://, minio://, cos://, tos://).
|
||||
func isProviderScheme(p string) bool {
|
||||
for _, prefix := range []string{"local://", "minio://", "cos://", "tos://", "s3://"} {
|
||||
for _, prefix := range []string{"local://", "minio://", "cos://", "tos://", "s3://", "obs://"} {
|
||||
if strings.HasPrefix(p, prefix) {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user