projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fix/dynamic-configuration' into 'develop'
[akkoma]
/
lib
/
mix
/
tasks
/
pleroma
/
config.ex
diff --git
a/lib/mix/tasks/pleroma/config.ex
b/lib/mix/tasks/pleroma/config.ex
index 1fe03088d942d1098a08f9620b520490395646ca..d008871a1560b0c90931b418b9afc7e057f41d1c 100644
(file)
--- a/
lib/mix/tasks/pleroma/config.ex
+++ b/
lib/mix/tasks/pleroma/config.ex
@@
-40,9
+40,10
@@
defmodule Mix.Tasks.Pleroma.Config do
Common.start_pleroma()
if Pleroma.Config.get([:instance, :dynamic_configuration]) do
Common.start_pleroma()
if Pleroma.Config.get([:instance, :dynamic_configuration]) do
- config_path = "config/#{env}.
migrated
.secret.exs"
+ config_path = "config/#{env}.
exported_from_db
.secret.exs"
{:ok, file} = File.open(config_path, [:write])
{:ok, file} = File.open(config_path, [:write])
+ IO.write(file, "use Mix.Config\r\n")
Repo.all(Config)
|> Enum.each(fn config ->
Repo.all(Config)
|> Enum.each(fn config ->