File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ var ZONE_QVM_Z0 = new qiniu.conf.Zone([
2424] , 'iovip.qbox.me' ,
2525'rs.qbox.me' ,
2626'rsf.qbox.me' ,
27- 'api.qiniu .com' ) ;
27+ 'api.qiniuapi .com' ) ;
2828
2929// 华北
3030var ZONE_QVM_Z1 = new qiniu . conf . Zone ( [
@@ -34,7 +34,7 @@ var ZONE_QVM_Z1 = new qiniu.conf.Zone([
3434] , 'iovip-z1.qbox.me' ,
3535'rs-z1.qbox.me' ,
3636'rsf-z1.qbox.me' ,
37- 'api-z1.qiniu .com' ) ;
37+ 'api-z1.qiniuapi .com' ) ;
3838
3939config . zone = ZONE_QVM_Z0 ;
4040config . zone = ZONE_QVM_Z1 ;
Original file line number Diff line number Diff line change @@ -62,28 +62,28 @@ exports.Zone = function (
6262 case 'z1' :
6363 ! this . rsHost && ( this . rsHost = 'rs-z1.qbox.me' ) ;
6464 ! this . rsfHost && ( this . rsfHost = 'rsf-z1.qbox.me' ) ;
65- ! this . apiHost && ( this . apiHost = 'api-z1.qiniu .com' ) ;
65+ ! this . apiHost && ( this . apiHost = 'api-z1.qiniuapi .com' ) ;
6666 break ;
6767 case 'z2' :
6868 ! this . rsHost && ( this . rsHost = 'rs-z2.qbox.me' ) ;
6969 ! this . rsfHost && ( this . rsfHost = 'rsf-z2.qbox.me' ) ;
70- ! this . apiHost && ( this . apiHost = 'api-z2.qiniu .com' ) ;
70+ ! this . apiHost && ( this . apiHost = 'api-z2.qiniuapi .com' ) ;
7171 break ;
7272 case 'na0' :
7373 ! this . rsHost && ( this . rsHost = 'rs-na0.qbox.me' ) ;
7474 ! this . rsfHost && ( this . rsfHost = 'rsf-na0.qbox.me' ) ;
75- ! this . apiHost && ( this . apiHost = 'api-na0.qiniu .com' ) ;
75+ ! this . apiHost && ( this . apiHost = 'api-na0.qiniuapi .com' ) ;
7676 break ;
7777 case 'as0' :
7878 ! this . rsHost && ( this . rsHost = 'rs-as0.qbox.me' ) ;
7979 ! this . rsfHost && ( this . rsfHost = 'rsf-as0.qbox.me' ) ;
80- ! this . apiHost && ( this . apiHost = 'api-as0.qiniu .com' ) ;
80+ ! this . apiHost && ( this . apiHost = 'api-as0.qiniuapi .com' ) ;
8181 break ;
8282 }
8383 }
8484 }
8585
8686 ! this . rsHost && ( this . rsHost = 'rs.qiniu.com' ) ;
8787 ! this . rsfHost && ( this . rsfHost = 'rsf.qiniu.com' ) ;
88- ! this . apiHost && ( this . apiHost = 'api.qiniu .com' ) ;
88+ ! this . apiHost && ( this . apiHost = 'api.qiniuapi .com' ) ;
8989} ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ exports.Zone_z0 = new conf.Zone([
1010] , 'iovip.qbox.me' ,
1111'rs.qbox.me' ,
1212'rsf.qbox.me' ,
13- 'api.qiniu .com' ) ;
13+ 'api.qiniuapi .com' ) ;
1414
1515// huabei
1616exports . Zone_z1 = new conf . Zone ( [
@@ -20,7 +20,7 @@ exports.Zone_z1 = new conf.Zone([
2020] , 'iovip-z1.qbox.me' ,
2121'rs-z1.qbox.me' ,
2222'rsf-z1.qbox.me' ,
23- 'api-z1.qiniu .com' ) ;
23+ 'api-z1.qiniuapi .com' ) ;
2424
2525// huanan
2626exports . Zone_z2 = new conf . Zone ( [
@@ -30,7 +30,7 @@ exports.Zone_z2 = new conf.Zone([
3030] , 'iovip-z2.qbox.me' ,
3131'rs-z2.qbox.me' ,
3232'rsf-z2.qbox.me' ,
33- 'api-z2.qiniu .com' ) ;
33+ 'api-z2.qiniuapi .com' ) ;
3434
3535// beimei
3636exports . Zone_na0 = new conf . Zone ( [
@@ -40,7 +40,7 @@ exports.Zone_na0 = new conf.Zone([
4040] , 'iovip-na0.qbox.me' ,
4141'rs-na0.qbox.me' ,
4242'rsf-na0.qbox.me' ,
43- 'api-na0.qiniu .com' ) ;
43+ 'api-na0.qiniuapi .com' ) ;
4444
4545exports . Zone_as0 = new conf . Zone ( [
4646 'up-as0.qiniup.com'
@@ -49,7 +49,7 @@ exports.Zone_as0 = new conf.Zone([
4949] , 'iovip-as0.qbox.me' ,
5050'rs-as0.qbox.me' ,
5151'rsf-as0.qbox.me' ,
52- 'api-as0.qiniu .com' ) ;
52+ 'api-as0.qiniuapi .com' ) ;
5353
5454exports . getZoneInfo = function ( accessKey , bucket , callbackFunc ) {
5555 const apiAddr = util . format (
You can’t perform that action at this time.
0 commit comments