I’m facing a problem like this:
I’m using Angular-Meteor-Ionic to create an App.
The server-side could call to remote API to get data (messages actually) and cache, apply filter ,… bla bla bla. I’ve worked.
The server I run it on my local machine, maybe a standalone server in future. However, I think sometime the server could be stop, that why I want to add a feature, run offline: whenever the app detect that server has stopped, it could call API directly get and show message (temporary). I already done this too. However, CORS is a big issue to run the app on production. Right now, I’ve to run corsproxy on my machine to bypass this problem.
Could anyone show me how to call remote API that would pass CORS? I CAN’T touch remote machine.
Thank you all!