Merge branch 'dev' into fix/sanitize-download-filename

This commit is contained in:
Alex Ling
2021-09-09 00:31:24 +00:00
3 changed files with 21 additions and 1 deletions

View File

@@ -35,6 +35,11 @@ def register_mime_types
# FontAwesome fonts
".woff" => "font/woff",
".woff2" => "font/woff2",
# Supported image formats. JPG, PNG, GIF, WebP, and SVG are already
# defiend by Crystal in `MIME.DEFAULT_TYPES`
".apng" => "image/apng",
".avif" => "image/avif",
}.each do |k, v|
MIME.register k, v
end