From b31a934a804aed3f35442ceafe2080b0955e7317 Mon Sep 17 00:00:00 2001 From: dcc Date: Wed, 15 May 2024 00:57:23 -0700 Subject: total rebase --- patches/2(fix_searches_p1).patch | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100755 patches/2(fix_searches_p1).patch (limited to 'patches/2(fix_searches_p1).patch') diff --git a/patches/2(fix_searches_p1).patch b/patches/2(fix_searches_p1).patch deleted file mode 100755 index b40025c..0000000 --- a/patches/2(fix_searches_p1).patch +++ /dev/null @@ -1,27 +0,0 @@ -From 08c8abc053d2b1b36f4cc21402a8df254a6c7795 Mon Sep 17 00:00:00 2001 -From: Mint <> -Date: Wed, 31 May 2023 18:04:58 +0300 -Subject: [PATCH] Enable redirect middleware for Hackney - ---- - lib/pleroma/http.ex | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/lib/pleroma/http.ex b/lib/pleroma/http.ex -index d41061538d..a0e7d80f83 100644 ---- a/lib/pleroma/http.ex -+++ b/lib/pleroma/http.ex -@@ -106,6 +106,10 @@ defp adapter_middlewares(Tesla.Adapter.Gun) do - [Tesla.Middleware.FollowRedirects, Pleroma.Tesla.Middleware.ConnectionPool] - end - -+ defp adapter_middlewares(Tesla.Adapter.Hackney) do -+ [Tesla.Middleware.FollowRedirects] -+ 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 --- -GitLab - -- cgit v1.2.3