Relative Content

Tag Archive for reactjshttpnetlify

Http request getting blocked when app deployed on Netlify

I have the application working on my localhost and the API call is working just fine when I submit the email, but when I deployed the app on Netlify I get the following
Error:
stunning-daifuku-2134a0.netlify.app/:1 Mixed Content: The page at ‘https://stunning-daifuku-2134a0.netlify.app/’ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘http://34.225.132.160:8002/api’. This request has been blocked; the content must be served over HTTPS.