http/adapter_helper: explicitly enable IPv4
All checks were successful
ci/woodpecker/pr/test/2 Pipeline was successful
ci/woodpecker/pr/test/1 Pipeline was successful

Mint was upgraded in b1397e1670
This commit is contained in:
Oneric 2026-01-27 00:00:00 +00:00
commit e488cc0a42

View file

@ -29,9 +29,9 @@ defmodule Pleroma.HTTP.AdapterHelper do
conn_max_idle_time: Config.get!([:http, :receive_timeout]),
protocols: Config.get!([:http, :protocols]),
conn_opts: [
# When we upgrade our deps to Mint >= 1.6.0 we can also explicitly enable "inet4: true"
transport_opts: [
inet6: true,
inet4: true,
cacerts: :public_key.cacerts_get()
]
]