summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2022-01-20 09:44:17 -0600
committerMark Felder <feld@feld.me>2022-01-20 09:44:17 -0600
commit83b581dd5aa276f4c1886131769f4fe57714a2c7 (patch)
tree71d1317f1fb68f5952a98f72c498ca1000a69d70
parent32cf644f057f3459a3bf28c25889a16d502e2d7a (diff)
Remove leftover hardcoded Finch namefinch_everywhere
-rw-r--r--lib/pleroma/web/media_proxy/media_proxy_controller.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/media_proxy/media_proxy_controller.ex b/lib/pleroma/web/media_proxy/media_proxy_controller.ex
index b3a92d75a..7f4c32a09 100644
--- a/lib/pleroma/web/media_proxy/media_proxy_controller.ex
+++ b/lib/pleroma/web/media_proxy/media_proxy_controller.ex
@@ -54,7 +54,7 @@ defmodule Pleroma.Web.MediaProxy.MediaProxyController do
media_proxy_url = MediaProxy.url(url)
with {:ok, %{status: status} = head_response} when status in 200..299 <-
- Pleroma.HTTP.request("head", media_proxy_url, [], [], name: MyFinch) do
+ Pleroma.HTTP.request("head", media_proxy_url, [], [], []) do
content_type = Tesla.get_header(head_response, "content-type")
content_length = Tesla.get_header(head_response, "content-length")
content_length = content_length && String.to_integer(content_length)