mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
🐛 修复 minio 设置跨域上传报错的 bug
This commit is contained in:
@@ -27,8 +27,6 @@ public class MinIOServiceImpl extends AbstractS3BaseFileService<MinIOParam> {
|
||||
.withPathStyleAccessEnabled(true)
|
||||
.withCredentials(new AWSStaticCredentialsProvider(credentials))
|
||||
.withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration(param.getEndPoint(), "minio")).build();
|
||||
|
||||
setUploadCors();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user