Merge pull request #406 from crisward/patch-5
Allows videos to be opened with correct mime type
This commit is contained in:
commit
3e355cbd51
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue