Hey, just wondering if anyone has had success connecting a Meteor built Cordova app to a Galaxy deployed Meteor app.
I have the following lines:
BrowserPolicy.content.allowSameOriginForAll();
BrowserPolicy.content.allowOriginForAll('http://meteor.local');
BrowserPolicy.content.allowOriginForAll('http://localhost');
BrowserPolicy.content.allowOriginForAll('http://yo-star.xyz');
BrowserPolicy.content.allowOriginForAll('http://aspin.xyz');
BrowserPolicy.content.allowOriginForAll('https://*.googleapis.com');
BrowserPolicy.content.allowOriginForAll('https://*.gstatic.com');
BrowserPolicy.content.allowEval();
WebApp.connectHandlers.use(function(req, res, next) {
res.setHeader("Access-Control-Allow-Origin", "*");
return next();
});
mostly because I’ve tried everything I could think of to get this working, but the app doesn’t seem to be able to connect to the Galaxy instance. I’ve been able to connect the exact same application by deploying via mup though.