Merge branch 'hotfix/download_cdn' into dev

master
ELF 5 years ago
commit 6cdde605cb

@ -85,7 +85,7 @@ class PackageController extends Controller
private function gotoPkgUrl($packageUrl)
{
if (preg_match("/oss/", $packageUrl)) {
if (preg_match("/http/", $packageUrl)) {
$url = str_replace('-internal', '', $packageUrl);
echo "<script>window.location.href='$url';</script>";
} elseif (preg_match("/clouddn/", $packageUrl)) {

Loading…
Cancel
Save