X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Ftemplates%2Fsample_config.eex;h=2d4a49328ebde7e894e9d6ac3b2fa498c5e4ab69;hb=044eb039c22f0cdececee85922b0c194f0944f42;hp=8b45acb05b6eb7c625fb819d7d463c145be0f4c3;hpb=e76115989a0867d5a37a869b560153c2e7c060fd;p=akkoma diff --git a/priv/templates/sample_config.eex b/priv/templates/sample_config.eex index 8b45acb05..2d4a49328 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) or not Code.ensure_loaded?(Mix.Config) do + "import Config" +else + "use Mix.Config" +end %> config :pleroma, Pleroma.Web.Endpoint, url: [host: "<%= domain %>", scheme: "https", port: <%= port %>], @@ -37,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 %>"