Use a custom pool-aware FollowRedirects middleware
This commit is contained in:
parent
281ddd5e37
commit
94c8f3cfaf
6 changed files with 109 additions and 24 deletions
|
|
@ -24,8 +24,6 @@ defmodule Pleroma.HTTP.AdapterHelper.Hackney do
|
|||
|
||||
defp add_scheme_opts(opts, _), do: opts
|
||||
|
||||
def after_request(_), do: :ok
|
||||
|
||||
@spec get_conn(URI.t(), keyword()) :: {:ok, keyword()}
|
||||
def get_conn(_uri, opts), do: {:ok, opts}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue