HTML: Compile Scrubbers on boot

This makes it possible to configure their behavior on OTP releases.
This commit is contained in:
rinpatch 2019-12-08 19:42:40 +03:00
commit d6c89068f3
8 changed files with 231 additions and 214 deletions

View file

@ -30,6 +30,7 @@ defmodule Pleroma.Application do
# See http://elixir-lang.org/docs/stable/elixir/Application.html
# for more information on OTP Applications
def start(_type, _args) do
Pleroma.HTML.compile_scrubbers()
Pleroma.Config.DeprecationWarnings.warn()
setup_instrumenters()