fixup! use host and port variables

This commit is contained in:
shibao 2021-09-10 22:00:35 -04:00 committed by oliviasculley
parent 4dce597375
commit 261b417eb3
1 changed files with 1 additions and 1 deletions

View File

@ -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]]