From: William Pitcock Date: Wed, 13 Jun 2018 06:56:14 +0000 (+0000) Subject: webfinger: send JRD by default instead of XRD X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=3d402a9e2070c38c578d3bc64aed2b9361a4bcf0;p=akkoma webfinger: send JRD by default instead of XRD JRD being the default representation for WebFinger responses was standardized 5 years ago in RFC 7033. --- diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index ee6a373d3..0e6369147 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -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