livewire/livewire.js not found (404) on production only
after deploying my filament installation to production - i receive this console error saying
GET https://domain.net/livewire/livewire.js?id=51f84ddf net::ERR_ABORTED 404 (Not Found)
. it happens on the /admin/login
page and it doesn't let me to proceed. weird thing is the livewire/livewire.js file is accessible when i enter it directly into the browser .. what might be the problem?2 Replies
Bump! same issue.
Do a search on here, this has been covered multiple times. Basically your server is not setup correctly. It is trying to serve things like js and css as static files, but livewire.js is served through php, so you have to tell your server / nginx how to server that particular file.