Update StoryController, fix cache crop bug

This commit is contained in:
Daniel Supernault 2021-04-30 00:10:50 -06:00
parent ae46bad70a
commit c2f8faaeee
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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
]; ];
} }