From f9e66d133604ef74a333a17afa326d88183eb4f0 Mon Sep 17 00:00:00 2001 From: shibao Date: Sat, 25 Sep 2021 17:01:35 -0400 Subject: [PATCH] change ports back to 4000 --- config/config.exs | 4 ++-- config/releases.exs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/config.exs b/config/config.exs index 19e10fb..7308f0a 100644 --- a/config/config.exs +++ b/config/config.exs @@ -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, diff --git a/config/releases.exs b/config/releases.exs index 104c817..155b4cf 100644 --- a/config/releases.exs +++ b/config/releases.exs @@ -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,