mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 20:26:52 +00:00
1 parent
09fca89ac5
commit
18e43e1d35
3 files changed
+160
-144
No files matched your search
@@ -16,7 +16,7 @@ pub(crate) fn content_disposition_type(buf: &[u8], _content_type: &Option<String
|
||||
};
|
||||
|
||||
match file_type.matcher_type() {
|
||||
MatcherType::IMAGE | MatcherType::AUDIO | MatcherType::TEXT | MatcherType::VIDEO => "inline",
|
||||
MatcherType::Image | MatcherType::Audio | MatcherType::Text | MatcherType::Video => "inline",
|
||||
_ => "attachment",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user