mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 15:21:53 +08:00
bugfix: S3 客服端 VirtualStyle 判断逻辑错误
This commit is contained in:
parent
4e1d7d0877
commit
02562cb77d
@ -91,7 +91,7 @@ public class S3FileClient extends AbstractFileClient<S3FileClientConfig> {
|
|||||||
* 开启 VirtualStyle 模式
|
* 开启 VirtualStyle 模式
|
||||||
*/
|
*/
|
||||||
private void enableVirtualStyleEndpoint() {
|
private void enableVirtualStyleEndpoint() {
|
||||||
if (StrUtil.containsAll(config.getEndpoint(),
|
if (StrUtil.containsAny(config.getEndpoint(),
|
||||||
S3FileClientConfig.ENDPOINT_TENCENT, // 腾讯云 https://cloud.tencent.com/document/product/436/41284
|
S3FileClientConfig.ENDPOINT_TENCENT, // 腾讯云 https://cloud.tencent.com/document/product/436/41284
|
||||||
S3FileClientConfig.ENDPOINT_VOLCES)) { // 火山云 https://www.volcengine.com/docs/6349/1288493
|
S3FileClientConfig.ENDPOINT_VOLCES)) { // 火山云 https://www.volcengine.com/docs/6349/1288493
|
||||||
client.enableVirtualStyleEndpoint();
|
client.enableVirtualStyleEndpoint();
|
||||||
|
Loading…
Reference in New Issue
Block a user