Commit 1bccb11a authored by Rémy Coutable's avatar Rémy Coutable 🏖

Fix staging config

Signed-off-by: Rémy Coutable's avatarRémy Coutable <>
parent 6518cc67
......@@ -15,7 +15,7 @@ use Mix.Config
# which you typically run after static files are built.
config :i_love_api, ILoveApiWeb.Endpoint,
load_from_system_env: true,
url: [scheme: "https", host: "", port: 443],
url: [scheme: "https", host: Map.fetch!(System.get_env(), "HOST"), port: 443],
force_ssl: [rewrite_on: [:x_forwarded_proto]],
cache_static_manifest: "priv/static/cache_manifest.json",
secret_key_base: Map.fetch!(System.get_env(), "SECRET_KEY_BASE")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment