From: Alexander Strizhakov Date: Thu, 9 Jul 2020 08:17:43 +0000 (+0300) Subject: load default config in mix tasks X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=4cbafcef0c3a0ce9ddf888b558c6691afb96ad94;p=akkoma load default config in mix tasks --- diff --git a/lib/mix/pleroma.ex b/lib/mix/pleroma.ex index 0fbb6f1cd..de16cc52c 100644 --- a/lib/mix/pleroma.ex +++ b/lib/mix/pleroma.ex @@ -7,6 +7,7 @@ defmodule Mix.Pleroma do @cachex_childs ["object", "user"] @doc "Common functions to be reused in mix tasks" def start_pleroma do + Pleroma.Config.Holder.save_default() Application.put_env(:phoenix, :serve_endpoints, false, persistent: true) if Pleroma.Config.get(:env) != :test do