Skip to content
Snippets Groups Projects
Commit 46b123cd authored by feld's avatar feld
Browse files

Still allow passing the arg, but fallback to MIX_ENV

parent 0871e8b8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment