mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update StoryController, fix cache crop bug
This commit is contained in:
parent
ae46bad70a
commit
c2f8faaeee
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class StoryController extends Controller
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'msg' => 'Successfully added',
|
'msg' => 'Successfully added',
|
||||||
'media_id' => (string) $story->id,
|
'media_id' => (string) $story->id,
|
||||||
'media_url' => url(Storage::url($url)),
|
'media_url' => url(Storage::url($url)) . '?v=' . time(),
|
||||||
'media_type' => $story->type
|
'media_type' => $story->type
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue