I have deployed a simple chatUI-app on vercel which is fetching chats from this API
"http://3.111.128.67/assignment/chat?page=0"
It was running fine in development but as I deployed it on vercel the app is not fetching chats and throwing this error
Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
I checked that it is happening due to http in the API, but not able to figure out how to solve this I even have added
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
to my index.html but it didn't work.