change ports back to 4000

This commit is contained in:
shibao 2021-09-25 17:01:35 -04:00 committed by oliviasculley
parent 48691e669e
commit f9e66d1336
2 changed files with 3 additions and 3 deletions

View File

@ -12,8 +12,8 @@ config :cannery,
# Configures the endpoint
config :cannery, CanneryWeb.Endpoint,
url: [host: System.get_env("HOST") || "localhost"],
http: [port: String.to_integer(System.get_env("PORT") || "80")],
url: [scheme: "https", host: System.get_env("HOST") || "localhost", port: "443"],
http: [port: String.to_integer(System.get_env("PORT") || "4000")],
secret_key_base: "KH59P0iZixX5gP/u+zkxxG8vAAj6vgt0YqnwEB5JP5K+E567SsqkCz69uWShjE7I",
render_errors: [view: CanneryWeb.ErrorView, accepts: ~w(html json), layout: false],
pubsub_server: Cannery.PubSub,

View File

@ -25,7 +25,7 @@ host = System.get_env("HOST") || "localhost"
config :cannery, CanneryWeb.Endpoint,
url: [scheme: "https", host: host, port: "443"],
http: [
port: String.to_integer(System.get_env("PORT") || "80"),
port: String.to_integer(System.get_env("PORT") || "4000"),
transport_options: [socket_opts: [:inet6]]
],
secret_key_base: secret_key_base,