I deployed a website that contained an API that was not working.
In console, it shows some errors. but the site was working properly on my localhost.
Error:
Mixed Content: The page at 'index.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ---"URL". This request has been blocked; the content must be served over HTTPS.