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
|
@ -3,7 +3,11 @@
|
||||||
# NOTE: This file should not be committed to a repo or otherwise made public
|
# NOTE: This file should not be committed to a repo or otherwise made public
|
||||||
# without removing sensitive information.
|
# 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,
|
config :pleroma, Pleroma.Web.Endpoint,
|
||||||
url: [host: "<%= domain %>", scheme: "https", port: <%= port %>],
|
url: [host: "<%= domain %>", scheme: "https", port: <%= port %>],
|
||||||
|
|
Loading…
Reference in New Issue