BigW Consortium Gitlab

Commit b12b7243 by Connor Shea

Remove x-json mime_type, rename to json_mime_types.

parent c7d717cf
......@@ -13,11 +13,10 @@ Mime::Type.register "video/mp4", :mp4, [], [:m4v, :mov]
Mime::Type.register "video/webm", :webm
Mime::Type.register "video/ogg", :ogv
lfs_mime_types = %w(
json_mime_types = %w(
application/vnd.git-lfs+json
text/x-json
application/json
)
Mime::Type.unregister :json
Mime::Type.register 'application/json', :json, lfs_mime_types
Mime::Type.register 'application/json', :json, json_mime_types
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment