fix
This commit is contained in:
parent
343472f5cb
commit
06c3882190
@ -38,7 +38,7 @@ public class MinioOSGatewayImpl implements ObjectStorageGateway {
|
||||
// 为了提升上传的速度,创建本地 minio 客户端
|
||||
String activeProfile = System.getProperty("spring.profiles.active", "docker");
|
||||
this.localMinioClient = MinioClient.builder()
|
||||
.endpoint(Set.of("windows", "docker").contains(activeProfile) ? "http://localhost:9000" : "http://s3.wisdompulse.cn")
|
||||
.endpoint(Set.of("windows", "docker").contains(activeProfile) ? "http://localhost:19000" : "http://s3.wisdompulse.cn")
|
||||
.credentials(accessKey, secretKey)
|
||||
.build();
|
||||
this.objectStorageProperties = objectStorageProperties;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user