Change path of nodeinfo to use .json format

This commit is contained in:
Dashie 2018-05-02 22:16:19 +02:00
parent 65168393d8
commit abeb009acc
No known key found for this signature in database
GPG Key ID: C2D57B325840B755

View File

@ -12,7 +12,7 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
links: [ links: [
%{ %{
rel: "http://nodeinfo.diaspora.software/ns/schema/2.0", rel: "http://nodeinfo.diaspora.software/ns/schema/2.0",
href: Web.base_url() <> "/nodeinfo/2.0" href: Web.base_url() <> "/nodeinfo/2.0.json"
} }
] ]
} }