forked from AkkomaGang/akkoma
fix for config loader
This commit is contained in:
parent
60ba2339a2
commit
58e8963824
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ def load do
|
||||||
# support for Elixir less than 1.9
|
# support for Elixir less than 1.9
|
||||||
@spec load() :: map()
|
@spec load() :: map()
|
||||||
def load do
|
def load do
|
||||||
config = Mix.Config.eval!("config/config.exs")
|
{config, _paths} = Mix.Config.eval!("config/config.exs")
|
||||||
env_config = Mix.Config.eval!("config/#{Mix.env()}.exs")
|
{env_config, _paths} = Mix.Config.eval!("config/#{Mix.env()}.exs")
|
||||||
|
|
||||||
Mix.Config.merge(config, env_config)
|
Mix.Config.merge(config, env_config)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue