i deployed laravel project on digital ocean this project at local environment work perfect but at server one of ajax call
throw the following error
Mixed Content: The page at 'https://school-erp-3fgnz.ondigitalocean.app/user/profile/9' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://school-erp-3fgnz.ondigitalocean.app/user/softdelete/9'. This request has been blocked; the content must be served over HTTPS.
Are you hard coding the AJAX URL in your code? If not how are you making the Ajax call from your JavaScript code?
The error is because the page is loaded through HTTPS (secure connection), and the JavaScript is calling a HTTP endpoint (unsecure connection) which is not allowed in all major browsers at least