HTML: Compile Scrubbers on boot
This makes it possible to configure their behavior on OTP releases.
This commit is contained in:
parent
af5fef1f22
commit
d6c89068f3
8 changed files with 231 additions and 214 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue