1
0

Preloading: Fix nodeinfo url.

This commit is contained in:
lain
2020-06-26 14:48:23 +02:00
parent 4a7a34ae8c
commit a2002ebb63
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ defmodule Pleroma.Web.Preload.Providers.Instance do
@behaviour Provider
@instance_url :"/api/v1/instance"
@panel_url :"/instance/panel.html"
@nodeinfo_url :"/nodeinfo/2.0"
@nodeinfo_url :"/nodeinfo/2.0.json"
@impl Provider
def generate_terms(_params) do
+1 -1
View File
@@ -25,7 +25,7 @@ defmodule Pleroma.Web.Preload.Providers.InstanceTest do
)
end
test "it renders the node_info", %{"/nodeinfo/2.0": nodeinfo} do
test "it renders the node_info", %{"/nodeinfo/2.0.json": nodeinfo} do
%{
metadata: metadata,
version: "2.0"