summaryrefslogtreecommitdiff
path: root/priv/templates/sample_config.eex
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates/sample_config.eex')
-rw-r--r--priv/templates/sample_config.eex3
1 files changed, 2 insertions, 1 deletions
diff --git a/priv/templates/sample_config.eex b/priv/templates/sample_config.eex
index 526593d0a..2d4a49328 100644
--- a/priv/templates/sample_config.eex
+++ b/priv/templates/sample_config.eex
@@ -3,7 +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) do
+<%= if Code.ensure_loaded?(Config) or not Code.ensure_loaded?(Mix.Config) do
"import Config"
else
"use Mix.Config"
@@ -41,6 +41,7 @@ config :web_push_encryption, :vapid_details,
public_key: "<%= web_push_public_key %>",
private_key: "<%= web_push_private_key %>"
+config :pleroma, :database, rum_enabled: <%= rum_enabled %>
config :pleroma, :instance, static_dir: "<%= static_dir %>"
config :pleroma, Pleroma.Uploaders.Local, uploads: "<%= uploads_dir %>"