diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 02:54:49 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 02:54:49 +0200 |
commit | d5e086a47bedc93a1ab2d197e0400ef5bc2d0e3d (patch) | |
tree | a667b5b71c02419c03121004a08719c33b290408 /config/initializers | |
parent | 7bb72ff198d9fb0747f8ded25140be35943484a0 (diff) |
Adding application/jrd+json webfinger resource
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/mime_types.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb index dc1899682..5a16a14e8 100644 --- a/config/initializers/mime_types.rb +++ b/config/initializers/mime_types.rb @@ -1,4 +1,4 @@ # Be sure to restart your server when you modify this file. -# Add new mime types for use in respond_to blocks: -# Mime::Type.register "text/richtext", :rtf +Mime::Type.register "application/json", :json, %w( text/x-json application/jsonrequest application/jrd+json ) +Mime::Type.register "text/xml", :xml, %w( application/xml application/atom+xml application/xrd+xml ) |