增加.wgt格式的MimeType

This commit is contained in:
wangjiahao 2022-09-20 14:47:09 +08:00
parent 1af96de3ae
commit a91168951c

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";
}
}