Closed Themesfa closed 6 years ago
try to test with Storage::url('123456.png')
and see if it works or u still get the same error.
how i can fix that in media manager ?! images not loading in media manager panel ...
i think that you must fix that in your project .
unless u test with the prev cmnd i provided, i cant help u
Hello I get the same issue It seems not work for the url...
In the app I have homestead.rest domain and in the url image appears localhost...
Hope you can help ! Thanks!!
you can solve the problem by edit .env file .
change APP_URL option
FROM :
APP_URL=http://localhost
TO :
APP_URL=http://localhost:8000
then you should re run the serve command in terminal to apply changes.
note: in your case you must use yours used URL. not localhost:8000
I had to change to 127.0.0.1:8000
do a php artisan config:clear
and then php artisan serve
again. That worked loading things properly.
5.5
usage
laravel url : http://localhost:8000 the url of the images : http://localhost/storage/123456.png but it must be http://localhost:8000/storage/123456.png the port not added in images url . how i can fix that ?