Merge branch 'fix/use-config-when-possible' into 'develop'
use Config in generated config when available See merge request pleroma/pleroma!1319
This commit is contained in:
commit
89fa14f558
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,11 @@
|
|||
# NOTE: This file should not be committed to a repo or otherwise made public
|
||||
# without removing sensitive information.
|
||||
|
||||
use Mix.Config
|
||||
<%= if Code.ensure_loaded?(Config) do
|
||||
"import Config"
|
||||
else
|
||||
"use Mix.Config"
|
||||
end %>
|
||||
|
||||
config :pleroma, Pleroma.Web.Endpoint,
|
||||
url: [host: "<%= domain %>", scheme: "https", port: <%= port %>],
|
||||
|
|
Loading…
Reference in a new issue