I try to send a request to a public API that not host in https but it is hot in HTTP. Its all working good In localhost but when I deploy it to vercel production build in https url. it gives an error.
axios.get('http://api'); how to overcome this?
https://stackoverflow.com/questions/66593606/send-http-request-for-api-that-not-secure-not-https-in-nextjs-failed-in-produc March 12, 2021 at 11:06AM
没有评论:
发表评论