about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-08-14 04:16:43 +0200
committerGitHub <noreply@github.com>2017-08-14 04:16:43 +0200
commit6df8bd277b52b3ac025597ec08ee9e342a8eb32c (patch)
tree965a65c8d6c99f4fa153a27fae5c8e6e1fceeb42 /config/initializers
parent4e75f0d88932511ad154773f4c77a485367ed36c (diff)
Set correct content-type for ActivityPub JSON (#4592)
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/mime_types.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb
index 30e91ad63..58a6c0063 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.
 
-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)