add flac MIME type
This commit is contained in:
parent
2d02f2d2c4
commit
ccfc855545
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ fn guess_content_type(extension: &str) -> Option<&'static str> {
|
||||||
"png" => Some("image/png"),
|
"png" => Some("image/png"),
|
||||||
"webp" => Some("image/webp"),
|
"webp" => Some("image/webp"),
|
||||||
"jpg" | "jpeg" => Some("image/jpeg"),
|
"jpg" | "jpeg" => Some("image/jpeg"),
|
||||||
|
"flac" => Some("audio/flac"),
|
||||||
_ => None,
|
_ => None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue