Set correct content-type for ActivityPub JSON (#4592)
parent
4e75f0d889
commit
6df8bd277b
@ -1,4 +1,4 @@ |
||||
# 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 application/activity+json) |
||||
Mime::Type.register 'application/json', :json, %w(text/x-json application/jsonrequest application/jrd+json application/activity+json application/ld+json) |
||||
Mime::Type.register 'text/xml', :xml, %w(application/xml application/atom+xml application/xrd+xml) |
||||
|
Loading…
Reference in new issue