I want to access the file storage/app/15573877669649.jpg.
Code to upload the file
$file = $request->file('cover_image');
$fileName = time().rand(111, 9999).".".$file->getClientOriginalExtension();
Storage::disk('local')->put($fileName, file_get_contents($file));
Code to retrieve the file in the blade.php file
<img src = "{{ URL::to('/').Storage::url($article->coverImage) }}" alt="image">
which returns
http://127.0.0.1:8000/storage/15573877669649.jpg
I have tried to manually put http://127.0.0.1:8000/storage/app/15573877669649.jpg but it's also not working