From 18fde86a204e2bdae2be06a5fe7c2f2f1ffa4e3c Mon Sep 17 00:00:00 2001 From: triphora Date: Sat, 19 Nov 2022 19:54:56 -0500 Subject: [PATCH] Fix #464 (#467) Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com> --- src/util/ext.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/ext.rs b/src/util/ext.rs index 6093ce998..a51a233ba 100644 --- a/src/util/ext.rs +++ b/src/util/ext.rs @@ -15,7 +15,7 @@ pub fn get_image_content_type(extension: &str) -> Option<&'static str> { pub fn project_file_type(ext: &str) -> Option<&str> { match ext { "jar" => Some("application/java-archive"), - "zip" => Some("application/zip"), + "zip" | "litemod" => Some("application/zip"), "mrpack" => Some("application/x-modrinth-modpack+zip"), _ => None, }