1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-25 09:22:22 +00:00

Merge branch 'oncletom-master-patch-13632' into 'master'

Adjust to `System.get_env` signature (`get_env(String.t(), String.t() | nil)`)

See merge request framasoft/mobilizon!801
This commit is contained in:
Thomas Citharel 2021-01-19 10:46:39 +01:00
commit fc9334b4b1

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,