config: pass inline images through mediaproxy (closes #275)
authorWilliam Pitcock <nenolod@dereferenced.org>
Sun, 16 Sep 2018 02:13:54 +0000 (02:13 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Sun, 16 Sep 2018 02:16:17 +0000 (02:16 +0000)
config/config.exs

index d8edc4862bb0ec7e1843afa38a4b375edeb7af51..2290119f70c502232e0c942315709c7b592d21af 100644 (file)
@@ -83,7 +83,10 @@ config :pleroma, :markup,
   allow_headings: false,
   allow_tables: false,
   allow_fonts: false,
-  scrub_policy: Pleroma.HTML.Scrubber.Default
+  scrub_policy: [
+    Pleroma.HTML.Transform.MediaProxy,
+    Pleroma.HTML.Scrubber.Default
+  ]
 
 config :pleroma, :fe,
   theme: "pleroma-dark",