From abeb009accaece7f05e8a16a4b5bc28cd6682bc0 Mon Sep 17 00:00:00 2001 From: Dashie Date: Wed, 2 May 2018 22:16:19 +0200 Subject: [PATCH] Change path of nodeinfo to use .json format --- lib/pleroma/web/nodeinfo/nodeinfo_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex index 7b152e315..4f18a9c33 100644 --- a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex +++ b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex @@ -12,7 +12,7 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do links: [ %{ rel: "http://nodeinfo.diaspora.software/ns/schema/2.0", - href: Web.base_url() <> "/nodeinfo/2.0" + href: Web.base_url() <> "/nodeinfo/2.0.json" } ] }