load default config in mix tasks
This commit is contained in:
parent
b28cc15459
commit
4cbafcef0c
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue