mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
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
|
# 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 a new issue