X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fhttp.ex;h=d8028651c881034c9d6cbe3a11bdbf3cc366e5a6;hb=3e0a5851e528135a04ca8f9ab59607ecc3ba42d9;hp=f3bdccaeec43029575bf877cc0ca703f7678b1c4;hpb=e26388a01c91f9e3b1b9a0b77938b6f5b215ec63;p=akkoma diff --git a/lib/pleroma/http.ex b/lib/pleroma/http.ex index f3bdccaee..d8028651c 100644 --- a/lib/pleroma/http.ex +++ b/lib/pleroma/http.ex @@ -83,13 +83,4 @@ defmodule Pleroma.HTTP do |> Builder.add_param(:query, :query, params) |> Builder.convert_to_keyword() end - - defp adapter_middlewares(_) do - if Pleroma.Config.get(:env) == :test do - # Emulate redirects in test env, which are handled by adapters in other environments - [Tesla.Middleware.FollowRedirects] - else - [] - end - end end