From 2576d0181aa4a75d5c7d85e0dd4b41f67bf1cd4a Mon Sep 17 00:00:00 2001 From: Nguyen Duc Toan Date: Thu, 12 Oct 2023 15:28:24 +0700 Subject: [PATCH] add x-wine-extension-ini to text mime --- shared/src/mime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/mime.rs b/shared/src/mime.rs index a3e5d184..9da7d107 100644 --- a/shared/src/mime.rs +++ b/shared/src/mime.rs @@ -18,7 +18,7 @@ pub enum MimeKind { impl MimeKind { pub fn new(s: &str) -> Self { - if s.starts_with("text/") || s.ends_with("/xml") || s.ends_with("/javascript") { + if s.starts_with("text/") || s.ends_with("/xml") || s.ends_with("/javascript") || s.ends_with("/x-wine-extension-ini") { Self::Text } else if s.starts_with("image/") { Self::Image