We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49892f6 commit a813fc6Copy full SHA for a813fc6
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "cos-nodejs-sdk-v5",
3
- "version": "2.11.5",
+ "version": "2.11.6",
4
"description": "cos nodejs sdk v5",
5
"main": "index.js",
6
"types": "index.d.ts",
sdk/base.js
@@ -3321,7 +3321,7 @@ var getSignHost = function (opt) {
3321
protocol: this.options.Protocol,
3322
domain: this.options.Domain,
3323
bucket: opt.Bucket,
3324
- region: opt.Region,
+ region: this.options.UseAccelerate ? 'accelerate' : opt.Region,
3325
});
3326
var urlHost = url.replace(/^https?:\/\/([^/]+)(\/.*)?$/, '$1');
3327
var standardHostReg = new RegExp('^([a-z\\d-]+-\\d+\\.)?(cos|cosv6|ci|pic)\\.([a-z\\d-]+)\\.myqcloud\\.com$');
0 commit comments