From: Mark Felder Date: Thu, 16 Dec 2021 17:36:58 +0000 (-0600) Subject: Dirty hack to make mediaproxy functional by relying on Hackney for that part X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=5660bee2dcfd200c726c7d7ce40b1f6b8d5048f2;p=akkoma Dirty hack to make mediaproxy functional by relying on Hackney for that part --- diff --git a/lib/pleroma/reverse_proxy/client/wrapper.ex b/lib/pleroma/reverse_proxy/client/wrapper.ex index 06dd29fea..ce144559f 100644 --- a/lib/pleroma/reverse_proxy/client/wrapper.ex +++ b/lib/pleroma/reverse_proxy/client/wrapper.ex @@ -25,5 +25,6 @@ defmodule Pleroma.ReverseProxy.Client.Wrapper do defp client(Tesla.Adapter.Hackney), do: Pleroma.ReverseProxy.Client.Hackney defp client(Tesla.Adapter.Gun), do: Pleroma.ReverseProxy.Client.Tesla + defp client({Tesla.Adapter.Finch, _}), do: Pleroma.ReverseProxy.Client.Hackney defp client(_), do: Pleroma.Config.get!(Pleroma.ReverseProxy.Client) end