Merge branch 'add-ld-json-content-type' into 'master'

Also respond AS payload to application/ld+json

See merge request framasoft/mobilizon!564
This commit is contained in:
Thomas Citharel 2020-09-23 10:03:21 +02:00
commit 8b499104df

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"]
} }