diff --git a/src/util.rs b/src/util.rs index 8af22d9..2b1358a 100644 --- a/src/util.rs +++ b/src/util.rs @@ -91,7 +91,7 @@ pub fn guess_mime_from_path>(path: P) -> Mime { let extension = path.extension().and_then(|s| s.to_str()); let mime = match extension { Some(extension) => match extension { - "gemini" => GEMINI_MIME_STR, + "gemini" | "gmi" => GEMINI_MIME_STR, "txt" => "text/plain", "jpeg" | "jpg" | "jpe" => "image/jpeg", "png" => "image/png",