@@ -16,6 +16,16 @@ exports.Zone_z0 = new conf.Zone([
1616'rsf.qbox.me' ,
1717'api.qiniu.com' ) ;
1818
19+ // huadong2
20+ exports . Zone_cn_east_2 = new conf . Zone ( [
21+ 'up-cn-east-2.qiniup.com'
22+ ] , [
23+ 'upload-cn-east-2.qiniup.com'
24+ ] , 'iovip-cn-east-2.qiniuio.com' ,
25+ 'rs-cn-east-2.qiniuapi.com' ,
26+ 'rsf-cn-east-2.qiniuapi.com' ,
27+ 'api-cn-east-2.qiniuapi.com' ) ;
28+
1929// huabei
2030exports . Zone_z1 = new conf . Zone ( [
2131 'up-z1.qiniup.com'
@@ -50,6 +60,7 @@ exports.Zone_na0 = new conf.Zone([
5060'rsf-na0.qbox.me' ,
5161'api-na0.qiniu.com' ) ;
5262
63+ // singapore
5364exports . Zone_as0 = new conf . Zone ( [
5465 'up-as0.qiniup.com'
5566] , [
@@ -59,6 +70,16 @@ exports.Zone_as0 = new conf.Zone([
5970'rsf-as0.qbox.me' ,
6071'api-as0.qiniu.com' ) ;
6172
73+ // seoul
74+ exports . Zone_ap_northeast_1 = new conf . Zone ( [
75+ 'up-ap-northeast-1.qiniup.com'
76+ ] , [
77+ 'upload-ap-northeast-1.qiniup.com'
78+ ] , 'iovip-ap-northeast-1.qiniuio.com' ,
79+ 'rs-ap-northeast-1.qiniuapi.com' ,
80+ 'rsf-ap-northeast-1.qiniuapi.com' ,
81+ 'api-ap-northeast-1.qiniuapi.com' ) ;
82+
6283exports . getZoneInfo = function ( accessKey , bucket , callbackFunc ) {
6384 const apiAddr = util . format (
6485 'https://uc.qbox.me/v2/query?ak=%s&bucket=%s' ,
0 commit comments