#Problem livewire in production, after deploy

2 messages · Page 1 of 1 (latest)

barren grotto
#

Hi guys... I have this problem. In development environment it is working, but when I put it in production it shows the error.

mighty edge
#

It looks like your URL is localhost/app/public but you're assets are trying to load from localhost/app because it's not recommended to host a Laravel app that way,.

You server should map localhost/app to your www/app/publicdirectory, due to security reasons. That's how all Laravel apps should be configured, see here in the docs https://laravel.com/docs/7.x/installation#web-server-configuration