From 922edd0093ea6b690fac086ede1c8a3470e3926d Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Sun, 16 Sep 2018 17:19:19 -0400 Subject: [PATCH] Fix URL configuration for emails --- config/prod.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/prod.exs b/config/prod.exs index 462fcf0..0a6854c 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -7,7 +7,7 @@ config :chess, ChessWeb.Endpoint, root: "./assets", secret_key_base: "${SECRET_KEY_BASE}", server: true, - url: [host: "${HOST}", port: {:system, "PORT"}], + url: [scheme: "https", host: "${HOST}", port: "${URL_PORT}"], version: Application.spec(:chess, :vsn) config :chess, Chess.Mailer,