Hello there, my livewire app work fine in localhost but when i deploy to shared hosting cpanel, it does not work. When i click a form button, my page reloads and sends the data to the url.
i have a form that uses livewire to submit, when i click the form. the values i type in goes to the url after the page reloads. but its not so in my localhost.
please any help
i got this error in my console
<script src="/livewire/livewire.js?id=54d078b2ce39327a1702" data-turbo-eval="false" data-turbolinks-eval="false"></script><script data-turbo-eval="false" data-turbolinks-eval="false">window.livewire = new Livewire();window.Livewire = window.livewire;window.livewire_app_url = '';window.livewire_token = 'jPhP3Ace3g050r7zF8IhedMRZ7CxbxBfmozD7Rp3';window.deferLoadingAlpine = function (callback) {window.addEventListener('livewire:load', function () {callback();});};document.addEventListener("DOMContentLoaded", function () {window.livewire.start();});</script>
<!-- JAVASCRIPT -->