Skip to content

Commit c4a0567

Browse files
committed
fix:修复host签名时不兼容全球加速域名
1 parent a813fc6 commit c4a0567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3315,7 +3315,7 @@ function getUrl(params) {
33153315
}
33163316

33173317
var getSignHost = function (opt) {
3318-
if (!opt.Bucket || !opt.Bucket) return '';
3318+
if (!opt.Bucket || !opt.Region) return '';
33193319
var url = opt.Url || getUrl({
33203320
ForcePathStyle: this.options.ForcePathStyle,
33213321
protocol: this.options.Protocol,

0 commit comments

Comments
 (0)