Remove unused mime_types
This commit is contained in:
parent
9243b6d019
commit
d85b88962b
1 changed files with 0 additions and 7 deletions
|
@ -8,10 +8,3 @@ Mime::Type.register_alias "text/plain", :diff
|
|||
Mime::Type.register_alias "text/plain", :patch
|
||||
Mime::Type.register_alias 'text/html', :markdown
|
||||
Mime::Type.register_alias 'text/html', :md
|
||||
#Mime::Type.unregister :json
|
||||
Mime::Type.register_alias 'application/vnd.docker.distribution.manifest.v1+prettyjws', :json
|
||||
#Mime::Type.register 'application/json', :json, %w( text/plain text/x-json application/jsonrequest )
|
||||
|
||||
ActionDispatch::ParamsParser::DEFAULT_PARSERS[Mime::Type.lookup('application/vnd.docker.distribution.manifest.v1+prettyjws')]=lambda do |body|
|
||||
JSON.parse(body)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue