feat(mime_app): include text editors for text-based mime types
This commit is contained in:
parent
256a6cba19
commit
6d4af69318
1 changed files with 1 additions and 0 deletions
|
|
@ -266,6 +266,7 @@ impl MimeAppCache {
|
||||||
|
|
||||||
let include_mime = match mime_type.type_().as_str() {
|
let include_mime = match mime_type.type_().as_str() {
|
||||||
"audio" => Some("video/mp4".parse::<Mime>().expect("video/mp4 mime")),
|
"audio" => Some("video/mp4".parse::<Mime>().expect("video/mp4 mime")),
|
||||||
|
"text" => Some(mime_guess::mime::TEXT_PLAIN),
|
||||||
_ => None,
|
_ => None,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue