Change path of nodeinfo to use .json format
authorDashie <dashie@sigpipe.me>
Wed, 2 May 2018 20:16:19 +0000 (22:16 +0200)
committerDashie <dashie@sigpipe.me>
Wed, 2 May 2018 20:16:19 +0000 (22:16 +0200)
lib/pleroma/web/nodeinfo/nodeinfo_controller.ex

index 7b152e31566203acec51b40206a694162f39561e..4f18a9c330115fe350844f8ad7ef30d336f4fc16 100644 (file)
@@ -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"
         }
       ]
     }