antonioribeiro / health

Laravel Health Panel
BSD 3-Clause "New" or "Revised" License
1.94k stars 198 forks source link

Package is ignoring APP_URL #173

Closed lostdesign closed 4 years ago

lostdesign commented 4 years ago

So my APP_URL is http://localhost/laravel/ - when I visit http://localhost/laravel/health/panel I can see that health is making requests to http://localhost/health/resources which cannot be resolved. I was digging for the reason of this but could not find a solution.

When I visit http://localhost/laravel/health/resources myself, I do get the data returned. So why is it that the panel is making requests without /laravel?

Note: On package setup the APP_URL wasn't /laravel, I changed it afterwards. It's weird that I can actually goto each routes, but the panel requesting something different.

Cache has been cleared, my laravel version is: "laravel/framework": "^6.2",

antonioribeiro commented 4 years ago

You probably have to update the prefix:

image