Create NsfwApiPolicy
This commit is contained in:
parent
b221d77a6d
commit
718e8e1edb
2 changed files with 192 additions and 0 deletions
|
|
@ -404,6 +404,13 @@ config :pleroma, :mrf_object_age,
|
|||
threshold: 604_800,
|
||||
actions: [:delist, :strip_followers]
|
||||
|
||||
config :pleroma, :mrf_nsfw_api,
|
||||
url: "http://127.0.0.1:5000/",
|
||||
threshold: 0.7,
|
||||
mark_sensitive: true,
|
||||
unlist: false,
|
||||
reject: false
|
||||
|
||||
config :pleroma, :rich_media,
|
||||
enabled: true,
|
||||
ignore_hosts: [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue