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 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