mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-18 19:34:23 +01:00
allow proxy to fetch ipv6-only hosts
This commit is contained in:
parent
fd064b3a79
commit
99952f9780
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ defmodule Philomena.Http do
|
||||||
end
|
end
|
||||||
|
|
||||||
defp adapter_opts(opts) do
|
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
|
case Application.get_env(:philomena, :proxy_host) do
|
||||||
nil ->
|
nil ->
|
||||||
|
|
Loading…
Reference in a new issue