mastodon api: card: force OGP images through mediaproxy
This commit is contained in:
parent
339c26e12b
commit
ddc7ae2c1a
@ -189,7 +189,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
||||
provider_name: site_name,
|
||||
provider_url: page_url_data.scheme <> "://" <> page_url_data.host,
|
||||
url: page_url,
|
||||
image: rich_media[:image],
|
||||
image: rich_media[:image] |> MediaProxy.url(),
|
||||
title: rich_media[:title],
|
||||
description: rich_media[:description],
|
||||
pleroma: %{
|
||||
|
Loading…
Reference in New Issue
Block a user