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

View file

@ -41,7 +41,7 @@ def user_fetcher(username) 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