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

Oldest comments (0)

Top Heroku Alternatives (For Free!)

Recently Heroku shut down free Heroku Dynos, free Heroku Postgres, and free Heroku Data for Redis on November 28th, 2022. So Meshv Patel put together some free alternatives in this classic DEV post.