Update StoryController, fix cache crop bug

pull/2740/head
Daniel Supernault 4 years ago
parent ae46bad70a
commit c2f8faaeee
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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…
Cancel
Save