add flac MIME type

This commit is contained in:
りき萌 2025-09-15 23:22:06 +02:00
parent 2d02f2d2c4
commit ccfc855545

View file

@ -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,
} }
} }