Parcourir la source

nodeinfo_controller: Fix JSON rendering

This is the last noedinfo difference from my own branch
tags/v0.9.9
Haelwenn (lanodan) Monnier il y a 5 ans
Parent
révision
f2efc8dcfb
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: D5B7A8E43C997DEE
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. +4
    -1
      lib/pleroma/web/nodeinfo/nodeinfo_controller.ex

+ 4
- 1
lib/pleroma/web/nodeinfo/nodeinfo_controller.ex Voir le fichier

@@ -26,7 +26,10 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
chat = Application.get_env(:pleroma, :chat)
gopher = Application.get_env(:pleroma, :gopher)
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)



Chargement…
Annuler
Enregistrer