Only proxify images

This commit is contained in:
Michael 2021-06-27 19:06:05 +00:00
parent b46b7b08ba
commit c89547aead
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class Attachment extends BaseFactory
$url = Post\Media::getPreviewUrlForId($attachment['id']);
$preview = Post\Media::getPreviewUrlForId($attachment['id'], Proxy::SIZE_SMALL);
} else {
$url = Proxy::proxifyUrl($attachment['url']);
$url = $attachment['url'];
if (!empty($attachment['preview'])) {
$preview = Post\Media::getPreviewUrlForId($attachment['id'], Proxy::SIZE_SMALL);