Meteor Cordova w/Galaxy deployed apps

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.

I’m having the exact same issue.

Were you able to resolve this?

Nope never did :frowning:

Ended up just using mupx to VPS.

Managed to sort it :slight_smile:

Specifying https in the --mobile-server command did the trick.

–mobile-server=https://