summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-05-16 21:39:58 -0500
committerAlex Gleason <alex@alexgleason.me>2021-06-16 22:35:04 -0500
commit718e8e1edb537aca984216be39b3be5c8af4e6da (patch)
treef1ce3049639d4c551572ce17f4b271e56f5b8515 /config
parentb221d77a6da07c684bdbc63ddf4500e0d7ffeae8 (diff)
downloadpleroma-718e8e1edb537aca984216be39b3be5c8af4e6da.tar.gz
pleroma-718e8e1edb537aca984216be39b3be5c8af4e6da.zip
Create NsfwApiPolicy
Diffstat (limited to 'config')
-rw-r--r--config/config.exs7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs
index 66aee3264..d96dc1646 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -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: [],