Merge pull request #2617 from remember-5/v5-dev

增加.wgt格式的MimeType
This commit is contained in:
Golden Looly
2022-09-20 15:09:12 +08:00
committed by GitHub

View File

@@ -3463,6 +3463,8 @@ public class FileUtil extends PathUtil {
contentType = "application/x-rar-compressed";
} else if (StrUtil.endWithIgnoreCase(filePath, ".7z")) {
contentType = "application/x-7z-compressed";
} else if (StrUtil.endWithIgnoreCase(filePath, ".wgt")) {
contentType = "application/widget";
}
}