Also respond AS payload to application/ld+json

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-09-23 09:23:06 +02:00
parent 9b726fabb5
commit f11e1b948e
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -51,6 +51,7 @@ config :mobilizon, Mobilizon.Web.Endpoint,
config :mime, :types, %{ config :mime, :types, %{
"application/activity+json" => ["activity-json"], "application/activity+json" => ["activity-json"],
"application/ld+json" => ["activity-json"],
"application/jrd+json" => ["jrd-json"] "application/jrd+json" => ["jrd-json"]
} }