fix 修复 minio 适配 https 导致的问题
This commit is contained in:
parent
6fa53ebe31
commit
0e81a7c342
@ -39,7 +39,7 @@ public class MinioOssStrategy extends AbstractOssStrategy {
|
|||||||
} else {
|
} else {
|
||||||
builder.endpoint(properties.getEndpoint());
|
builder.endpoint(properties.getEndpoint());
|
||||||
}
|
}
|
||||||
minioClient = builder.build();
|
minioClient = builder.credentials(properties.getAccessKey(), properties.getSecretKey()).build();
|
||||||
createBucket();
|
createBucket();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new OssException("Minio存储配置错误! 请检查系统配置:[" + e.getMessage() + "]");
|
throw new OssException("Minio存储配置错误! 请检查系统配置:[" + e.getMessage() + "]");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user