projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b28cc15
)
load default config in mix tasks
author
Alexander Strizhakov
<alex.strizhakov@gmail.com>
Thu, 9 Jul 2020 08:17:43 +0000
(11:17 +0300)
committer
Alexander Strizhakov
<alex.strizhakov@gmail.com>
Thu, 9 Jul 2020 08:17:43 +0000
(11:17 +0300)
lib/mix/pleroma.ex
patch
|
blob
|
history
diff --git
a/lib/mix/pleroma.ex
b/lib/mix/pleroma.ex
index 0fbb6f1cdde0842eefbb892deb308e6fef641656..de16cc52c920b5298ee90043975e7f9c65d95700 100644
(file)
--- 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
@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
Application.put_env(:phoenix, :serve_endpoints, false, persistent: true)
if Pleroma.Config.get(:env) != :test do