load default config in mix tasks

stable
Alexander Strizhakov 4 years ago
parent b28cc15459
commit 4cbafcef0c
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381

@ -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

Loading…
Cancel
Save