Respond to proper ActivityPub type.
authorlain <lain@soykaf.club>
Sun, 1 Apr 2018 12:58:01 +0000 (14:58 +0200)
committerlain <lain@soykaf.club>
Sun, 1 Apr 2018 12:58:01 +0000 (14:58 +0200)
config/config.exs

index 151c6b8267133bc755851ee70884515e8ce19bdf..7bdd6525967ca477e2e611caa769cbf55af38782 100644 (file)
@@ -27,7 +27,8 @@ config :logger, :console,
 
 config :mime, :types, %{
   "application/xrd+xml" => ["xrd+xml"],
-  "application/activity+json" => ["activity+json"]
+  "application/activity+json" => ["activity+json"],
+  "application/ld+json" => ["activity+json"]
 }
 
 config :pleroma, :websub, Pleroma.Web.Websub