How do I resolve the CORS (access-control-allow-origin) issue?
- I am calling
axios.getinside a method on the server
- I am using
meteor run android-device --mobile-server http://my.server.addrto run the app on my phone
- I do disconnect WiFi on my phone
Even though I am running the app off the server, the CORS error still insist that I am making the
XMLHttpRequest call from
localhost, which at this point I assume is the real problem.
Can anyone help? If I haven’t made clear what the issue is, please let me know. Thanks.