Are you pointing to public as document root?
livewire live hosting issue
after i host my app to server, my livewire not working. but before i host, its worked perfectly. my app URL is https://abc.com/inventory/
all other normal laravel controller functions are working fine..
only the livewire, notify and storage images not working
I want to share my observations
-
when I click submit btn, livewire validations not working, and this token pass on URL https://www.abc.com/inventory/?_token=CON2f3z7wqm0UxUwUQNOBCJ5oxejCiGVek58EIiX
-
when I go inspect my all (storage img, livewire.js) paths are wrong and error also showing path : https://www.abc.com/inventory/?_token=CON2f3z7wqm0UxUwUQNOBCJ5oxejCiGVek58EIiX Error : Failed to load resource: the server responded with a status of 404 (Not Found)
(all image and js path are same and wth that token random number) -
in developer mode, when I click that
GET https://www.abc.com/inventory/vendor/livewire/livewire.js?id=38dc8241 net::ERR_ABORTED 404 (Not Found)
when I click, I cant see any preview
steps I did
- I try to remove or clear the cache
- delete bootstrap/cache/config.php
- update composer
- publish livewire
- php artisan storage:link
- PHP extension fileinfo enabled
NOTHING HAPPEND NO WORK
PLEASE GIVE ME A SOLUTION
Please or to participate in this conversation.