mastodon api: card: force OGP images through mediaproxy

This commit is contained in:
William Pitcock 2019-01-28 06:42:27 +00:00
parent 339c26e12b
commit ddc7ae2c1a
1 changed files with 1 additions and 1 deletions

View File

@ -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: %{