ctf0 / Laravel-Media-Manager

A "Vuejs & Laravel" Media Manager With Tons of Features
MIT License
829 stars 179 forks source link

urls not supporting port #35

Closed Themesfa closed 6 years ago

Themesfa commented 6 years ago

What version of Laravel are you using? (nothing lower than v5.4).

5.5

is it an issue related to installation or usage ?

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 ?

ctf0 commented 6 years ago

try to test with Storage::url('123456.png') and see if it works or u still get the same error.

Themesfa commented 6 years ago

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 . untitled

ctf0 commented 6 years ago

unless u test with the prev cmnd i provided, i cant help u

eugeniregi commented 6 years ago

Hello I get the same issue It seems not work for the url...

captura de pantalla de 2018-03-02 12-17-34

In the app I have homestead.rest domain and in the url image appears localhost...

Hope you can help ! Thanks!!

Themesfa commented 6 years ago

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

jasperf commented 5 years ago

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.