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
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ def schemas(conn, _params) 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"
} }
] ]
} }