Only proxify images
This commit is contained in:
parent
b46b7b08ba
commit
c89547aead
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue