NodeInfo: Accept application/activity+json requests

This commit is contained in:
Mark Felder 2024-08-30 15:25:21 -04:00
commit 4ae17c6294
3 changed files with 15 additions and 1 deletions

View file

@ -189,7 +189,7 @@ defmodule Pleroma.Web.Router do
end
pipeline :well_known do
plug(:accepts, ["json", "jrd", "jrd+json", "xml", "xrd+xml"])
plug(:accepts, ["activity+json", "json", "jrd", "jrd+json", "xml", "xrd+xml"])
end
pipeline :config do