Skip to content

Commit

Permalink
Merge pull request #637 from cpp009/master
Browse files Browse the repository at this point in the history
bugfix: S3 客服端 VirtualStyle 判断逻辑错误
  • Loading branch information
YunaiV authored Aug 23, 2024
2 parents 13be8f3 + d232799 commit 98b65c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private String buildRegion() {
* 开启 VirtualStyle 模式
*/
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_VOLCES)) { // 火山云 https://www.volcengine.com/docs/6349/1288493
client.enableVirtualStyleEndpoint();
Expand Down

0 comments on commit 98b65c9

Please sign in to comment.