Only proxify images
This commit is contained in:
parent
b46b7b08ba
commit
c89547aead
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user