Allows videos to be opened with correct mime type

This commit is contained in:
Cris Ward 2017-09-28 11:13:55 +01:00 committed by GitHub
parent 00981bcf44
commit 1423c96d0a

View file

@ -24,6 +24,7 @@ module Kemal
when ".otf", ".ttf" then "application/font-sfnt"
when ".woff" then "application/font-woff"
when ".woff2" then "font/woff2"
when ".mp4" then "video/mp4"
else "application/octet-stream"
end
end