mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 19:29:11 +00:00
nodeinfo_controller: Fix JSON rendering
This is the last noedinfo difference from my own branch
This commit is contained in:
parent
28651df478
commit
f2efc8dcfb
1 changed files with 4 additions and 1 deletions
|
@ -26,7 +26,10 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
|
||||||
chat = Application.get_env(:pleroma, :chat)
|
chat = Application.get_env(:pleroma, :chat)
|
||||||
gopher = Application.get_env(:pleroma, :gopher)
|
gopher = Application.get_env(:pleroma, :gopher)
|
||||||
stats = Stats.get_stats()
|
stats = Stats.get_stats()
|
||||||
mrf_simple = Application.get_env(:pleroma, :mrf_simple)
|
|
||||||
|
mrf_simple =
|
||||||
|
Application.get_env(:pleroma, :mrf_simple)
|
||||||
|
|> Enum.into(%{})
|
||||||
|
|
||||||
mrf_policies = Keyword.get(instance, :rewrite_policy)
|
mrf_policies = Keyword.get(instance, :rewrite_policy)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue