修正正则匹配oss地址

This commit is contained in:
2023-02-23 15:31:31 +08:00
parent 631567116c
commit 5e3ed1b241
2 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -59,6 +59,6 @@ class PcreMatch
return $path;
}
return str_replace('https://' . config('alibaba.oss.endpoint'),"",$path);
return str_replace('https://' . config('alibaba.oss.bucket') . '.' .config('alibaba.oss.endpoint'),"",$path);
}
}