mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
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 ".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