Commit 3d8f54a6 authored by feld's avatar feld
Browse files

Remove leftover hardcoded Finch name

parent e86dc147
Pipeline #40142 failed with stages
in 3 minutes and 31 seconds
......@@ -54,7 +54,7 @@ defp handle_preview(conn, url) 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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment