Level 60
https://laravel.com/docs/7.x/filesystem#the-public-disk
run php artisan storage:link, then
href="{{ asset($item->voucher) }}"
Hello, excuse me, I've uploaded few files to my project, this files are uploaded to: storage/app/public/ folder, I've used this method to do this:
'voucher' => $request->file('voucher')->store('public')
But, how can recover the link file to serve to the user?
I'm trying with: <a href="/{{str_replace('public','storage',$item->voucher)}}">Link</a>
But isn't work, someone can explain me how can I do this please?
https://laravel.com/docs/7.x/filesystem#the-public-disk
run php artisan storage:link, then
href="{{ asset($item->voucher) }}"
Please or to participate in this conversation.