From 3d402a9e2070c38c578d3bc64aed2b9361a4bcf0 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Wed, 13 Jun 2018 06:56:14 +0000 Subject: [PATCH] webfinger: send JRD by default instead of XRD JRD being the default representation for WebFinger responses was standardized 5 years ago in RFC 7033. --- lib/pleroma/web/router.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2