From 261b417eb3c24af7f4e13ff34c3c9c74c33184ce Mon Sep 17 00:00:00 2001 From: shibao Date: Fri, 10 Sep 2021 22:00:35 -0400 Subject: [PATCH] fixup! use host and port variables --- config/releases.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/releases.exs b/config/releases.exs index dc6b3f2..104c817 100644 --- a/config/releases.exs +++ b/config/releases.exs @@ -23,7 +23,7 @@ secret_key_base = host = System.get_env("HOST") || "localhost" config :cannery, CanneryWeb.Endpoint, - url: [host: host], + url: [scheme: "https", host: host, port: "443"], http: [ port: String.to_integer(System.get_env("PORT") || "80"), transport_options: [socket_opts: [:inet6]]