Published in : 2021-12-14
Laravel storage keeps giving me 404 however the file is already there, what should I do? this is my first time working with the Storage class, here is an example of the code which I use
$img_name = time() . '1.' . $img1->getClientOriginalExtension();Storage::disk('local')->put('/public/images/'.$img_name, $img);$link = url('/').'/storage/images/'.$file_name;
The image was uploaded successfully but and I can see it in the Finder but what should I do to figure out this issue?
Thanks in advance
Join our community and get the chance to solve your code issues & share your opinion with usSign up Now