diff --git a/storage/region.go b/storage/region.go index eca58f5b..d381dd6e 100644 --- a/storage/region.go +++ b/storage/region.go @@ -225,8 +225,9 @@ var regionMap = map[RegionID]Region{ } const ( - defaultUcHost0 = "kodo-config.qiniuapi.com" - defaultUcHost1 = "uc.qbox.me" + defaultUcHost0 = "uc.qiniuapi.com" + defaultUcHost1 = "kodo-config.qiniuapi.com" + defaultUcHost2 = "uc.qbox.me" ) // UcHost 为查询空间相关域名的 API 服务地址 @@ -234,7 +235,7 @@ const ( // Deprecated 使用 SetUcHosts 替换 var UcHost = "" -var ucHosts = []string{defaultUcHost0, defaultUcHost1} +var ucHosts = []string{defaultUcHost0, defaultUcHost1, defaultUcHost2} func init() { if defaultUcHosts, err := defaults.BucketURLs(); err == nil && len(defaultUcHosts) > 0 {