Allows videos to be opened with correct mime type
This commit is contained in:
parent
00981bcf44
commit
1423c96d0a
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ module Kemal
|
||||||
when ".otf", ".ttf" then "application/font-sfnt"
|
when ".otf", ".ttf" then "application/font-sfnt"
|
||||||
when ".woff" then "application/font-woff"
|
when ".woff" then "application/font-woff"
|
||||||
when ".woff2" then "font/woff2"
|
when ".woff2" then "font/woff2"
|
||||||
|
when ".mp4" then "video/mp4"
|
||||||
else "application/octet-stream"
|
else "application/octet-stream"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue