mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-22 22:49:25 +00:00
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 @@ defmodule Pleroma.Web.Router 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 a new issue