mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-23 17:54:22 +00:00
Still allow passing the arg, but fallback to MIX_ENV
This commit is contained in:
parent
0871e8b8fe
commit
46b123cded
|
@ -83,7 +83,7 @@ defmodule Mix.Tasks.Pleroma.Config 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
|
||||
|
|
Loading…
Reference in a new issue