diff --git a/config/runtime.exs b/config/runtime.exs index f7442ff..f686c15 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -101,7 +101,9 @@ if config_env() == :prod do "https://#{host}", "http://www.#{host}", "https://www.#{host}" - ], + ] |> Enum.flat_map(fn host -> + [host, String.replace(host, ~r/\.org$/, ".com")] + end), http: [ # Enable IPv6 and bind on all interfaces. # Set it to {0, 0, 0, 0, 0, 0, 0, 1} for local network only access.