I’m deploying to modulus.io using modulus deploy.
The web app works as expected.
However, the android application fails to connect to the server and I get a bunch of cors errors. These may or may not be important as it seems the ROOT_URL env var isn’t being picked up/set correctly so that the apps requests appear to be coming from localhost:3000
ROOT_URL is specified in the modulus server administration.
Sample CORS error… retrieved from inspecting a Genymotion virtual device pointing at the live server with --mobile-server. Using Meteor 1.3
"XMLHttpRequest cannot load my.server.address/sockjs/info?cb=89f86firjs. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:12664’ is therefore not allowed access. "