File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ group('init cos', function () {
415415 Method : 'put' ,
416416 Key : '1.txt' ,
417417 Headers : {
418- Host : `${ config . Bucket } .${ config . Region } .myqcloud.com` ,
418+ Host : `${ config . Bucket } .cos. ${ config . Region } .myqcloud.com` ,
419419 }
420420 } ) ;
421421 callback ( {
@@ -673,7 +673,7 @@ group('getAuth();getV4Auth()', function () {
673673 Method : 'get' ,
674674 Key : key ,
675675 Headers : {
676- Host : `${ config . Bucket } .${ config . Region } .myqcloud.com` ,
676+ Host : `${ config . Bucket } .cos. ${ config . Region } .myqcloud.com` ,
677677 }
678678 } ) ;
679679 if ( typeof AuthData === 'string' ) {
@@ -5327,7 +5327,7 @@ group('Query 的键值带有特殊字符', function () {
53275327 Key : key ,
53285328 Query : qs ,
53295329 Headers : {
5330- Host : `${ config . Bucket } .${ config . Region } .myqcloud.com` ,
5330+ Host : `${ config . Bucket } .cos. ${ config . Region } .myqcloud.com` ,
53315331 }
53325332 } ) ;
53335333 if ( typeof AuthData === 'string' ) {
You can’t perform that action at this time.
0 commit comments