Added scheme to endpoint

This commit is contained in:
Vamsi Krishna B 2021-07-17 22:56:29 +05:30
parent c285624c66
commit 68b6bfc580
1 changed files with 4 additions and 1 deletions

View File

@ -40,7 +40,10 @@ explorer_hostname =
"""
config :zcash_explorer, ZcashExplorerWeb.Endpoint,
url: [host: explorer_hostname, port: String.to_integer(System.get_env("EXPLORER_PORT") || "443")],
url: [
host: explorer_hostname,
port: String.to_integer(System.get_env("EXPLORER_PORT") || "443"),
scheme: "https"],
http: [
port: String.to_integer(System.get_env("PORT") || "4000"),
transport_options: [socket_opts: [:inet6]]