better configuration

This commit is contained in:
Hakaba Hitoyo 2018-07-18 09:58:59 +09:00
commit e4dd58307a
3 changed files with 7 additions and 6 deletions

View file

@ -45,6 +45,7 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
metadata: %{
nodeName: Keyword.get(instance, :name),
mediaProxy: Keyword.get(media_proxy, :enabled),
suggestions: Keyword.get(suggestions, :enabled, false),
suggestionsThirdPartyEngine: Keyword.get(suggestions, :third_party_engine, false)
}
}