fix(MinioService.java): 文件URL自定义域名补充/

This commit is contained in:
郝先瑞 2022-04-13 00:02:40 +08:00
parent cae34fd833
commit eb27667cff

View File

@ -143,7 +143,7 @@ public class MinioService implements InitializingBean {
fileUrl = minioClient.getPresignedObjectUrl(getPresignedObjectUrlArgs);
fileUrl = fileUrl.substring(0, fileUrl.indexOf("?"));
} else { // 自定义文件路径域名Nginx配置方向代理转发MinIO
fileUrl = customDomain + bucketName + "/" + fileName;
fileUrl = customDomain +'/'+ bucketName + "/" + fileName;
}
return fileUrl;
}