X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=priv%2Ftemplates%2Fsample_config.eex;h=526593d0a87f7049ada1730966febf1a01d8b291;hb=23608149bc72d740e6259e460e43ff276583516d;hp=8b45acb05b6eb7c625fb819d7d463c145be0f4c3;hpb=6906db512dee7aa041b98c25312dabafd43ad932;p=akkoma diff --git a/priv/templates/sample_config.eex b/priv/templates/sample_config.eex index 8b45acb05..526593d0a 100644 --- a/priv/templates/sample_config.eex +++ b/priv/templates/sample_config.eex @@ -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 %>],