mirror of https://github.com/halo-dev/halo
fix: huawei obs upload file address is incorrect (#1589)
parent
514ccdb2a1
commit
27664fcb41
|
@ -82,7 +82,7 @@ public class HuaweiObsFileHandler implements FileHandler {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
FilePathDescriptor pathDescriptor = new FilePathDescriptor.Builder()
|
FilePathDescriptor pathDescriptor = new FilePathDescriptor.Builder()
|
||||||
.setBasePath(domain)
|
.setBasePath(basePath.toString())
|
||||||
.setSubPath(source)
|
.setSubPath(source)
|
||||||
.setAutomaticRename(true)
|
.setAutomaticRename(true)
|
||||||
.setRenamePredicate(relativePath ->
|
.setRenamePredicate(relativePath ->
|
||||||
|
|
Loading…
Reference in New Issue