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
commit 41af0e6c50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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