When attempting to send a request to a public API that is not hosted in HTTPS but instead in HTTP, everything works fine locally on localhost. However, upon deploying to Vercel production build with the API URL changed to HTTPS, an error occurs.
axios.get('http://api');
What is the best way to resolve this issue?