opt
This commit is contained in:
parent
a85610078b
commit
fd99c7692a
@ -194,7 +194,7 @@ public class FileWriteController {
|
||||
String[] supportedSuffix = dynamicConfig.getSupportedSearchFileSuffix().split(",");
|
||||
Set<String> supportedTypes = Arrays.stream(supportedSuffix).map(String::trim).collect(Collectors.toSet());
|
||||
boolean allowSaveToLocal = searchable && supportedTypes.contains(suffix);
|
||||
String localRelaDir = buildLocalRelaDir(dateFolder, uploader);
|
||||
String localRelaDir = buildLocalRelaDir(uploader, dateFolder);
|
||||
String localRelaFilePath = buildLocalRelaFilePath(localRelaDir, originFileNameWithSuffix);
|
||||
|
||||
boolean isPublic = Optional.ofNullable(objectStorageProperties.getPublicBuckets())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user