mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: add application/x-wine-extension-ini to text mime (#259)
This commit is contained in:
parent
ec29ee5d92
commit
774f8bc901
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue