diff --git a/core/src/services/obs/backend.rs b/core/src/services/obs/backend.rs index 82a41a192c15..b2da53c23bc4 100644 --- a/core/src/services/obs/backend.rs +++ b/core/src/services/obs/backend.rs @@ -172,7 +172,7 @@ impl Builder for ObsBuilder { let (endpoint, is_obs_default) = { let host = uri.host().unwrap_or_default().to_string(); - if host.starts_with("obs.") && host.ends_with(".myhuaweicloud.com") { + if host.starts_with("obs.") && (host.ends_with(".myhuaweicloud.com") || host.ends_with(".huawei.com")) { (format!("{bucket}.{host}"), true) } else { (host, false)