1
0
Fork 0
forked from mirrors/akkoma

Still allow passing the arg, but fallback to MIX_ENV

This commit is contained in:
Mark Felder 2020-07-12 10:59:12 -05:00
parent 0871e8b8fe
commit 46b123cded

View file

@ -83,7 +83,7 @@ defp create(group, settings) do
defp migrate_from_db(opts) do
if Pleroma.Config.get([:configurable_from_database]) do
env = Mix.env()
env = opts[:env] || Mix.env()
config_path =
if Pleroma.Config.get(:release) do