Phoenix detects the webfinger requests with content-type application/jrd+json as "jrd" now

This commit is contained in:
Mark Felder 2023-11-28 20:46:41 +00:00
commit 1b5168ae02
2 changed files with 2 additions and 2 deletions

View file

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