Use instances table instead of Cachex

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-07-07 11:13:38 +02:00
commit 013e2c5057
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
5 changed files with 65 additions and 32 deletions

View file

@ -209,8 +209,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
|> Map.get(:ap_id, "")
|> URI.parse()
|> URI.merge("/")
|> to_string()
|> Pleroma.Instances.get_cached_favicon()
|> Pleroma.Instances.Instance.get_or_update_favicon()
|> MediaProxy.url()
%{