Commit c3f68159 authored by 王源's avatar 王源 🎧

调整替换规则

parent 6eddf1dc
...@@ -91,7 +91,7 @@ class Drawer ...@@ -91,7 +91,7 @@ class Drawer
private function handleOssUrl($url) private function handleOssUrl($url)
{ {
if ($this->config->get('app_env') !== 'dev') { if ($this->config->get('app_env') !== 'dev') {
$url = str_replace('huaperfect-file-service.oss-cn-hangzhou.aliyuncs.com', 'huaperfect-file-service.oss-cn-hangzhou-internal.aliyuncs.com', $url); $url = str_replace('oss-cn-hangzhou.aliyuncs.com', 'oss-accelerate.aliyuncs.com', $url);
} }
return $url; return $url;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment