Merge pull request #406 from crisward/patch-5

Allows videos to be opened with correct mime type
This commit is contained in:
Serdar Dogruyol 2017-09-28 14:19:57 +03:00 committed by GitHub
commit 3e355cbd51

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