From e3f42c28d0b0834f7a48b1376ca38aafa0375eb3 Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Tue, 27 Aug 2024 20:25:53 -0700 Subject: [PATCH] Opps - reversed the IPv6 logic --- config/runtime.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/runtime.exs b/config/runtime.exs index f820498..44f72e5 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -121,7 +121,7 @@ if config_env() == :prod do # Set it to {0, 0, 0, 0, 0, 0, 0, 1} for local network only access. # See the documentation on https://hexdocs.pm/plug_cowboy/Plug.Cowboy.html # for details about using IPv6 vs IPv4 and loopback vs public addresses. - ip: if(enable_ipv6, do: {0, 0, 0, 0}, else: {0, 0, 0, 0, 0, 0, 0, 0}), + ip: if(enable_ipv6, do: {0, 0, 0, 0, 0, 0, 0, 0}, else: {0, 0, 0, 0}), port: String.to_integer(System.get_env("PORT") || "4000") ], url: [path: base_route_path],