From e7f3455f2d94b76d8f5e3d2be1d99a03934e774b Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Tue, 2 Jun 2020 13:50:28 +0300 Subject: [PATCH] Fix environment config variablt --- config/config.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.exs b/config/config.exs index fe6276fc2..3bd136b5c 100644 --- a/config/config.exs +++ b/config/config.exs @@ -6,7 +6,7 @@ config :plausible, mailer_email: System.get_env("MAILER_EMAIL", "hello@plausible.local"), admin_pwd: System.get_env("ADMIN_USER_PWD", "!@d3in"), ecto_repos: [Plausible.Repo], - environment: System.get_env(Atom.to_string(Mix.env()), "dev") + environment: System.get_env("ENVIRONMENT", "dev") config :plausible, :clickhouse, hostname: System.get_env("CLICKHOUSE_DATABASE_HOST", "localhost"),