summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/initializers/mime_types.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb
index cf3917033d8..5e3e4c966cb 100644
--- a/config/initializers/mime_types.rb
+++ b/config/initializers/mime_types.rb
@@ -13,10 +13,5 @@ Mime::Type.register "video/mp4", :mp4, [], [:m4v, :mov]
Mime::Type.register "video/webm", :webm
Mime::Type.register "video/ogg", :ogv
-json_mime_types = %w(
- application/vnd.git-lfs+json
- application/json
-)
-
Mime::Type.unregister :json
-Mime::Type.register 'application/json', :json, json_mime_types
+Mime::Type.register 'application/json', :json, %w(application/vnd.git-lfs+json application/json)