Answer the question
In order to leave comments, you need to log in
Why are pdf/mp4 files not being read from storage Laravel?
Good afternoon.
Created a form for saving files in storage/app/public/uploads
Files get there. What's more, images in jpg format are displayed. Example:
https://mysite.ru/storage/app/public/uploads/ap.jpg
Answer the question
In order to leave comments, you need to log in
I wrote it myself, I decided it myself.
There is no access point in storage. To do this, a link is created in the /public folder, which refers to storage.
Accordingly, the path has changed to this
/public/storage/uploads/ap.jpg
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question