Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

SSL and CORS

$
0
0

My good lord, I hope someone can help clear up my confused brain!

I have an ionic capacitor project which is hitting heroku end points (delete, post and get). It was working great and then we decided to implement security :frowning: by adding in CORS. The code is pretty simple:

The end points are https:// and when I run

ionic serve --ssl

it all works great. However, when I run

ionic cap build android or ionic cap build android --ssl

it always bombs out with

how can I get android to hit the end point with an https://localhost? I have looked endlessly at forums and stackoverflow but all the solutions seem to be way out of date or simply did nothing for me.

cheers
Magnus

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



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