mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 20:54:26 +08:00
fix(MinioService.java): 文件URL自定义域名补充/
This commit is contained in:
parent
cae34fd833
commit
eb27667cff
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user