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:
parent
ddc654d587
commit
3d402a9e20
|
@ -41,7 +41,7 @@ def user_fetcher(username) do
|
||||||
end
|
end
|
||||||
|
|
||||||
pipeline :well_known do
|
pipeline :well_known do
|
||||||
plug(:accepts, ["xml", "xrd+xml", "json", "jrd+json"])
|
plug(:accepts, ["json", "jrd+json", "xml", "xml+xrd"])
|
||||||
end
|
end
|
||||||
|
|
||||||
pipeline :config do
|
pipeline :config do
|
||||||
|
|
Loading…
Reference in New Issue