mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Merge branch 'fix/fallback-config' into 'develop'
Fallback to Config if Mix.Config does not exist, even if Config does not exist either See merge request pleroma/pleroma!1320
This commit is contained in:
commit
cf94b813e5
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
# NOTE: This file should not be committed to a repo or otherwise made public
|
||||
# without removing sensitive information.
|
||||
|
||||
<%= if Code.ensure_loaded?(Config) do
|
||||
<%= if Code.ensure_loaded?(Config) or not Code.ensure_loaded?(Mix.Config) do
|
||||
"import Config"
|
||||
else
|
||||
"use Mix.Config"
|
||||
|
|
Loading…
Reference in a new issue