Skip to content

Commit d051cf9

Browse files
committed
add zone2
1 parent 0fa9045 commit d051cf9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/com/qiniu/common/Zone.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ public static Zone zone1() {
1717
"https://up-z1.qbox.me", "http://api-z1.qiniu.com");
1818
}
1919

20+
public static Zone zone2() {
21+
return new FixedZone("http://up-z2.qiniu.com", "http://upload-z2.qiniu.com",
22+
"", "http://rs-z2.qbox.me", "http://rsf-z2.qbox.me", "http://iovip-z2.qbox.me",
23+
"https://up-z2.qbox.me", "http://api-z2.qiniu.com");
24+
}
25+
2026
public static Zone autoZone() {
2127
return AutoZone.instance;
2228
}

0 commit comments

Comments
 (0)