Dirty hack to make mediaproxy functional by relying on Hackney for that part
authorMark Felder <feld@feld.me>
Thu, 16 Dec 2021 17:36:58 +0000 (11:36 -0600)
committerMark Felder <feld@feld.me>
Thu, 16 Dec 2021 17:36:58 +0000 (11:36 -0600)
lib/pleroma/reverse_proxy/client/wrapper.ex

index 06dd29fea037ae36760c7c7ffe5bac7c84baeb2d..ce144559f6dc70945b55dbcadb14843d2d71dfb4 100644 (file)
@@ -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