Set correct content-type for ActivityPub JSON (#4592)
This commit is contained in:
parent
4e75f0d889
commit
6df8bd277b
9 changed files with 16 additions and 8 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue