Configure hostname & port

This commit is contained in:
Vamsi Krishna B 2021-07-10 17:41:43 +05:30
parent 37e6a4fd95
commit 52bd09b4a1
1 changed files with 1 additions and 1 deletions

View File

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