fix: adjust to System.get_env signature (get_env(String.t(), String.t() | nil))

This commit is contained in:
Thomas Parisot 2021-01-19 10:19:22 +01:00
parent e0d9762f36
commit 27bd5e8e6f

View file

@ -5,7 +5,7 @@ import Config
config :mobilizon, Mobilizon.Web.Endpoint,
server: true,
url: [host: System.get_env("MOBILIZON_INSTANCE_HOST", "mobilizon.lan")],
http: [port: System.get_env("MOBILIZON_INSTANCE_PORT", 4000)],
http: [port: System.get_env("MOBILIZON_INSTANCE_PORT", "4000")],
secret_key_base: System.get_env("MOBILIZON_INSTANCE_SECRET_KEY_BASE", "changethis")
config :mobilizon, Mobilizon.Web.Auth.Guardian,