Update http_security_plug.ex
[akkoma] / lib / pleroma / application.ex
index 2ae052069da301d0032579b6a282f5bd7e40d5e9..2c8889ce58886fa502c04af9248aca4c42817219 100644 (file)
@@ -33,6 +33,8 @@ defmodule Pleroma.Application do
   def start(_type, _args) do
     Pleroma.HTML.compile_scrubbers()
     Pleroma.Config.DeprecationWarnings.warn()
+    Pleroma.Plugs.HTTPSecurityPlug.warn_if_disabled()
+    Pleroma.Repo.check_migrations_applied!()
     setup_instrumenters()
     load_custom_modules()