mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2025-10-15 18:55:02 +08:00
update server/src/main/java/cn/keking/config/ConfigConstants.java.
修复删除源文件默认方法的 错误 Signed-off-by: 高雄 <admin@cxcp.com>
This commit is contained in:
@@ -71,7 +71,7 @@ public class ConfigConstants {
|
||||
public static final String DEFAULT_size_DISABLE = "500MB";
|
||||
public static final String DEFAULT_prohibit_DISABLE = "exe,dll";
|
||||
public static final String DEFAULT_password_DISABLE = "123456";
|
||||
public static final String DEFAULT_Delete_Source_File_PREVIEW_TYPE = "false";
|
||||
public static final String DEFAULT_Delete_Source_File_PREVIEW_TYPE = "true";
|
||||
|
||||
public static Boolean isCacheEnabled() {
|
||||
return cacheEnabled;
|
||||
@@ -412,7 +412,7 @@ public class ConfigConstants {
|
||||
return deletesourcefile;
|
||||
}
|
||||
|
||||
@Value("${delete.source.file:false}")
|
||||
@Value("${delete.source.file:true}")
|
||||
public void setdeletesourcefile(Boolean deletesourcefile) {
|
||||
setdeletesourcefileValue(deletesourcefile);
|
||||
}
|
||||
|
Reference in New Issue
Block a user