I’m using laraveldaily/laravel-invoices
to generate invoices.
I’ve stored the receipt with ->save('public');
and stored this link to database with: $invoice->url()
.
I got a link like this: http://example.com/storage/pdf_name.pdf
.
But, File stored in storage/app/public/
folder
Now, If I hit this URL, it says **"Forbidden"** You don't have permission to access this resource.
What can I do now? and is there any way to store just folder and file name? like: folder/pdf_name.pdf