forked from AkkomaGang/akkoma
Preloading: Fix nodeinfo url.
This commit is contained in:
parent
4a7a34ae8c
commit
a2002ebb63
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -25,7 +25,7 @@ test "it renders the panel", %{"/instance/panel.html": panel} 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"
|
||||
|
|
Loading…
Reference in a new issue