Configure hostname & port
This commit is contained in:
parent
37e6a4fd95
commit
52bd09b4a1
|
@ -40,9 +40,9 @@ explorer_hostname =
|
|||
"""
|
||||
|
||||
config :zcash_explorer, ZcashExplorerWeb.Endpoint,
|
||||
url: [host: explorer_hostname, port: String.to_integer(System.get_env("PORT") || "4000")],
|
||||
http: [
|
||||
port: String.to_integer(System.get_env("PORT") || "4000"),
|
||||
host: explorer_hostname,
|
||||
transport_options: [socket_opts: [:inet6]]
|
||||
],
|
||||
secret_key_base: secret_key_base
|
||||
|
|
Loading…
Reference in New Issue