Execute migration commands as the pleroma user and add a note about the need to uncom...
[akkoma] / priv / templates / sample_config.eex
index 8b45acb05b6eb7c625fb819d7d463c145be0f4c3..526593d0a87f7049ada1730966febf1a01d8b291 100644 (file)
@@ -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 %>],