mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2025-01-30 01:20:05 +01:00
[#2497] Formatting fix.
This commit is contained in:
parent
68a74d6659
commit
b4860c57a6
@ -156,9 +156,7 @@ defmodule Pleroma.Instances.Instance do
|
||||
defp scrape_favicon(%URI{} = instance_uri) do
|
||||
try do
|
||||
with {:ok, %Tesla.Env{body: html}} <-
|
||||
Pleroma.HTTP.get(to_string(instance_uri), [{"accept", "text/html"}],
|
||||
pool: :media
|
||||
),
|
||||
Pleroma.HTTP.get(to_string(instance_uri), [{"accept", "text/html"}], pool: :media),
|
||||
favicon_rel <-
|
||||
html
|
||||
|> Floki.parse_document!()
|
||||
|
Loading…
x
Reference in New Issue
Block a user