mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-26 23:13:17 +00:00
Update MediaTransformer, remove cache busting
This commit is contained in:
parent
ce6ab80dba
commit
258b2729d3
1 changed files with 2 additions and 2 deletions
|
@ -12,9 +12,9 @@ class MediaTransformer extends Fractal\TransformerAbstract
|
|||
$res = [
|
||||
'id' => (string) $media->id,
|
||||
'type' => $media->activityVerb(),
|
||||
'url' => $media->url() . '?cb=1&_v=' . time(),
|
||||
'url' => $media->url(),
|
||||
'remote_url' => null,
|
||||
'preview_url' => $media->thumbnailUrl() . '?cb=1&_v=' . time(),
|
||||
'preview_url' => $media->thumbnailUrl(),
|
||||
'text_url' => null,
|
||||
'meta' => null,
|
||||
'description' => $media->caption,
|
||||
|
|
Loading…
Reference in a new issue