mastodon/config/initializers/mime_types.rb
2016-10-18 02:54:49 +02:00

5 lines
281 B
Ruby

# Be sure to restart your server when you modify this file.
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 )