I'm trying to publicly access an uploaded file but can't figure out what the URL would be? I know it's a stupid question but I can't seem to figure this out.
Heres my code for saving the file, I can see it being stored in the storage folder so the upload seems OK!
$path = Storage::putFile('apps/icons', $request->file('app_icon'), 'public');
dd(Storage::url($path));
gives me a path but when visiting it in the browser I only get the laravel default 404 page...
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2MkqybO
via IFTTT
Aucun commentaire:
Enregistrer un commentaire