Skip to content

Commit

Permalink
Merge pull request #415 from qiniu/fix/zone
Browse files Browse the repository at this point in the history
remove seoul zone
  • Loading branch information
bachue committed Jun 30, 2023
2 parents e69ce85 + 7445ba8 commit f367c41
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 25 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,7 @@
* 对象存储,新增请求中间件逻辑,方便拓展请求逻辑
* 对象存储,新增备用 UC 域名用于查询区域域名
* 对象存储,修复分片上传初始化失败无法快速失败
* 对象存储,移除首尔区域

## 7.9.0 (2023-03-31)
* 对象存储,修复无法对 key 为空字符串的对象进行操作
Expand Down
14 changes: 0 additions & 14 deletions src/Qiniu/Region.php
Expand Up @@ -156,20 +156,6 @@ public static function regionSingapore()
return $regionSingapore;
}

//首尔
public static function regionSeoul()
{
//首尔
return new Region(
array('up-ap-northeast-1.qiniup.com'),
array('upload-ap-northeast-1.qiniup.com'),
"rs-ap-northeast-1.qiniuapi.com",
"rsf-ap-northeast-1.qiniuapi.com",
"api-ap-northeast-1.qiniuapi.com",
"iovip-ap-northeast-1.qiniuio.com"
);
}

/*
* GET /v4/query?ak=<ak>&bucket=<bucket>
**/
Expand Down
5 changes: 0 additions & 5 deletions src/Qiniu/Zone.php
Expand Up @@ -35,11 +35,6 @@ public static function zoneNa0()
return parent::regionNorthAmerica();
}

public static function zoneApNortheast1()
{
return parent::regionSeoul();
}

public static function qvmZonez0()
{
return parent::qvmRegionHuadong();
Expand Down
6 changes: 0 additions & 6 deletions tests/Qiniu/Tests/ZoneTest.php
Expand Up @@ -122,12 +122,6 @@ public function testZoneAs0()
$this->assertContains('upload-as0.qiniup.com', $zone->cdnUpHosts);
}

public function testZoneApNortheast1()
{
$zone = Zone::zoneApNortheast1();
$this->assertContains('upload-ap-northeast-1.qiniup.com', $zone->cdnUpHosts);
}

public function testQvmZonez0()
{
$zone = Zone::qvmZonez0();
Expand Down

0 comments on commit f367c41

Please sign in to comment.