summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2022-09-05 15:19:34 +0000
committertusooa <tusooa@kazv.moe>2022-09-05 15:19:34 +0000
commitf7c20731034f7aa3c72a6dcc312850db27787f7e (patch)
tree58c7727f73a0a7184865e45c18b6af5e91c51be5 /priv
parentf8afba95b20670b5d6e93896ccd27bb3fca003a2 (diff)
parent80a2528fd10ca2d07b8d96258a19bd9a8ea747ec (diff)
Merge branch 'bump/min-elixir-1.10' into 'develop'
Bump minimum Elixir version to 1.10 See merge request pleroma/pleroma!3741
Diffstat (limited to 'priv')
-rw-r--r--priv/templates/sample_config.eex6
1 files changed, 1 insertions, 5 deletions
diff --git a/priv/templates/sample_config.eex b/priv/templates/sample_config.eex
index 0068969ac..d44c324ca 100644
--- a/priv/templates/sample_config.eex
+++ b/priv/templates/sample_config.eex
@@ -3,11 +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) or not Code.ensure_loaded?(Mix.Config) do
- "import Config"
-else
- "use Mix.Config"
-end %>
+import Config
config :pleroma, Pleroma.Web.Endpoint,
url: [host: "<%= domain %>", scheme: "https", port: <%= port %>],