Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
This commit is contained in:
triphoraandGeometrically authored and GitHub committed 2022-11-19 17:54:56 -07:00
1 parent ba28bc94d3
commit 18fde86a20
1 file changed
+1 -1
+1 -1
View File
@@ -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,
}