Skip to content
Snippets Groups Projects
Commit ddc7ae2c authored by kaniini's avatar kaniini
Browse files

mastodon api: card: force OGP images through mediaproxy

parent 339c26e1
No related branches found
No related tags found
No related merge requests found
......@@ -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: %{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment