I have Laravel 5.3 with local filesystem. The APP_URL in my .env is:
http://localhost/myapp
I linked the storage to public
php artisan storage:link
I have an image in:
myapp/storage/app/public/defaults/test/file.png
In the database the path is saved like this:
public/defaults/test/file.png
So in my blade.php I try to access the image
<img src="{{ Storage::url($user->test)}}" width="" alt="">
But the image isn't showing and the URL of the image is:
http://localhost/storage/defaults/test/file.png
so why it's ignoring the app_url? and even if i change the link to this:
http://localhost/myapp/storage/defaults/test/file.png
the image isn't showing up.
How can I access the Image in my myapp/storage/app/public/defaults/test/file.png with Storage::url?
BR