webfinger: send JRD by default instead of XRD

JRD being the default representation for WebFinger responses was standardized 5 years ago in
RFC 7033.
This commit is contained in:
William Pitcock 2018-06-13 06:56:14 +00:00
parent ddc654d587
commit 3d402a9e20
1 changed files with 1 additions and 1 deletions

View File

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