forked from shibao/cannery
fixup! use host and port variables
This commit is contained in:
parent
4dce597375
commit
261b417eb3
@ -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]]
|
||||
|
Loading…
Reference in New Issue
Block a user