mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-23 01:35:28 +00:00
Add default config for keyword policy
This commit is contained in:
parent
46aa8c18a2
commit
2174f6eb4f
|
@ -238,6 +238,11 @@ config :pleroma, :mrf_simple,
|
|||
reject: [],
|
||||
accept: []
|
||||
|
||||
config :pleroma, :mrf_keyword,
|
||||
reject: [],
|
||||
ftl_removal: [],
|
||||
replace: []
|
||||
|
||||
config :pleroma, :rich_media, enabled: true
|
||||
|
||||
config :pleroma, :media_proxy,
|
||||
|
|
|
@ -46,7 +46,7 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do
|
|||
|
||||
# This horror is needed to convert regex sigils to strings
|
||||
mrf_keyword =
|
||||
Application.get_env(:pleroma, :mrf_keyword)
|
||||
Application.get_env(:pleroma, :mrf_keyword, [])
|
||||
|> Enum.map(fn {key, value} ->
|
||||
{key,
|
||||
Enum.map(value, fn
|
||||
|
|
Loading…
Reference in a new issue