diff options
Diffstat (limited to 'config/initializers/mime_types.rb')
-rw-r--r-- | config/initializers/mime_types.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb index 4c6de622f17..cd449b65818 100644 --- a/config/initializers/mime_types.rb +++ b/config/initializers/mime_types.rb @@ -9,8 +9,6 @@ Mime::Type.register_alias "text/plain", :patch Mime::Type.register_alias "text/html", :markdown Mime::Type.register_alias "text/html", :md +Mime::Type.register "video/mp4", :mp4, [], [:m4v, :mov] Mime::Type.register "video/webm", :webm -Mime::Type.register "video/ogg", :ogg -Mime::Type.register "video/ogg", :ogv -Mime::Type.register "video/mp4", :mp4 -Mime::Type.register "video/mp4", :m4v +Mime::Type.register "video/ogg", :ogv, [], [:ogg] |