minio上传文件 大小限制改为200

This commit is contained in:
coolleave
2025-05-04 16:56:40 +08:00
parent 46f4e044bf
commit 11bc3787d7
2 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ public class OssClient {
this.properties = ossProperties;
try {
AwsClientBuilder.EndpointConfiguration endpointConfig =
new AwsClientBuilder.EndpointConfiguration(properties.getEndpoint(), properties.getRegion());
new AwsClientBuilder.EndpointConfiguration(properties.getEndpoint().trim(), properties.getRegion());
AWSCredentials credentials = new BasicAWSCredentials(properties.getAccessKey(), properties.getSecretKey());
AWSCredentialsProvider credentialsProvider = new AWSStaticCredentialsProvider(credentials);