From b289f4c1b1aeebf656dbe055e37be8490b8ecab9 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 26 八月 2022 14:54:31 +0800 Subject: [PATCH] update 优化 调整 oss表key 与 ossconfig的service 字段长度不匹配 --- ruoyi-oss/src/main/java/com/ruoyi/oss/core/OssClient.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ruoyi-oss/src/main/java/com/ruoyi/oss/core/OssClient.java b/ruoyi-oss/src/main/java/com/ruoyi/oss/core/OssClient.java index cc79a6b..f0776dc 100644 --- a/ruoyi-oss/src/main/java/com/ruoyi/oss/core/OssClient.java +++ b/ruoyi-oss/src/main/java/com/ruoyi/oss/core/OssClient.java @@ -56,6 +56,8 @@ .withClientConfiguration(clientConfig) .withCredentials(credentialsProvider) .disableChunkedEncoding() + // https闄愬埗浣跨敤鍩熷悕璁块棶 闇�瑕佹閰嶇疆 绔欑偣濉煙鍚� + .enablePathStyleAccess() .build(); createBucket(); -- Gitblit v1.9.3