Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71388

Mixed content error in http calls

$
0
0

When I am testing my app on emulator….app make http calls to my local apache web server….as it is local so it doesn’t have HTTPS enabled…I receive this error:

Mixed Content: The page at ‘https://localhost/signup’ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘http://192.168.100.15:9100/desistories/api/access_token.php’. This request has been blocked; the content must be served over HTTPS.

I have tried setting in capacitor.config.ts:

android: {
allowMixedContent: true,
…..
}

But still getting the error. How can I fix this without serving the webview on http ?

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 71388

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>