diff options
author | Rémy Coutable <remy@rymai.me> | 2016-07-21 09:55:19 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-07-21 09:56:57 +0300 |
commit | ab86d27d3390b0388bbd92f123adf71321faa492 (patch) | |
tree | c925c4435314f147c6b8d781b881a06defe2ce02 /config/initializers | |
parent | 62bcbfc820dfee8e680ff3cfa220ef0d988ed9f6 (diff) |
Don't allow `.ogg` as a valid video extension
`.ogg` is for music files.
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/mime_types.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb index cd449b65818..3e553120205 100644 --- a/config/initializers/mime_types.rb +++ b/config/initializers/mime_types.rb @@ -11,4 +11,4 @@ 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", :ogv, [], [:ogg] +Mime::Type.register "video/ogg", :ogv |