DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

TRUNG VU
TRUNG VU

Posted on

Storage link already exists but getting 404 error when trying to get a file from the public folder

Storage link already exists in your Laravel project but you are getting 404 error when trying to get a file from the public folder.

Go to your project's public folder, and delete the storage folder, if it exists. Then run this command line:

php artisan storage:link
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

12 Rarely Used Javascript APIs You Need

>> Check out this classic DEV post <<