I’m using the SoftAP library to connect customers to wifi. I am accessing endpoints on the
/192.168.0.1 port in the browser to do so. The method works seamlessly when I run our app locally, but when I test it in our deployed staging environment, I get this error:
xxx.js:309 Mixed Content: The page at 'https://xxxxxxxx.com/xxx was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://192.168.0.1/public-key'. This request has been blocked; the content must be served over HTTPS.
What have other people done to get around the Same Origin Policy disallowing HTTP Ajax requests?