i receive the following error
index-afe1f710608edded.js:1 Mixed Content: The page at 'https://currency-rho.vercel.app/' was loaded over HTTPS, but requested an insecure resource 'http://api.currencylayer.com/live?access_key=138ca01354c449d7741ab9dbca4f4252'. This request has been blocked; the content must be served over HTTPS.
I assume its because im using the prefix NEXT_PUBLIC to the env variable in order to have access from the browser
thats the functionality I wanted, on local works fine but in deployment the request is blocked
any ideas how to solve?
Juan Pablo Isaza
The error message provides a useful hint:
...the content must be served over HTTPS.
http://api.currencylayer.com/... to use HTTPS: