I have this error, when open website
GET http://127.0.0.1:8000/storage/categories/portable.jpg 404 (Not Found)
categories:73
This is link of the code in the browser https://imgur.com/a/VwXavqd
In my .env file i wrote:
APP_URL=http://127.0.0.1:8000
FILESYSTEM_DISK=public
But it doesn’t help.
2
Answers
If you put file
portable.jpg
in thestorage>app>public>images>categories
folder use<img src="/storage/images/categories/portable.jpg" />
Or if you put that in the
storage>app>public>categories
use
<img src="/storage/categories/portable.jpg" />
And also make sure you used command
php artisan storage:link
So first thing
Delete storage folder from public
And run this again
Then go to your
config/filesystems.php
and check your disk configurationAlso sometimes it can be caching issues
So Try running