diff options
Diffstat (limited to 'lib/mix/tasks')
| -rw-r--r-- | lib/mix/tasks/pleroma/common.ex | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lib/mix/tasks/pleroma/common.ex b/lib/mix/tasks/pleroma/common.ex index 48c0c1346..25977f656 100644 --- a/lib/mix/tasks/pleroma/common.ex +++ b/lib/mix/tasks/pleroma/common.ex @@ -5,7 +5,8 @@  defmodule Mix.Tasks.Pleroma.Common do    @doc "Common functions to be reused in mix tasks"    def start_pleroma do -    Mix.Task.run("app.start") +    Application.put_env(:phoenix, :serve_endpoints, false, persistent: true) +    {:ok, _} = Application.ensure_all_started(:pleroma)    end    def get_option(options, opt, prompt, defval \\ nil, defname \\ nil) do | 
