allow proxy to fetch ipv6-only hosts

This commit is contained in:
byte[] 2021-03-17 16:57:37 -04:00
parent fd064b3a79
commit 99952f9780

View file

@ -12,7 +12,7 @@ defmodule Philomena.Http do
end
defp adapter_opts(opts) do
opts = Keyword.merge(opts, max_body: 125_000_000)
opts = Keyword.merge(opts, max_body: 125_000_000, inet6: true)
case Application.get_env(:philomena, :proxy_host) do
nil ->