فهرست منبع

update server/src/main/java/cn/keking/config/ConfigConstants.java.
修复删除源文件默认方法的 错误

Signed-off-by: 高雄 <admin@cxcp.com>

高雄 1 سال پیش
والد
کامیت
cfaa431e20
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      server/src/main/java/cn/keking/config/ConfigConstants.java

+ 2 - 2
server/src/main/java/cn/keking/config/ConfigConstants.java

@@ -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);
     }