I am trying to override absoluteUrl in conjunction with a deployment to a Windows server.
On the server in Meteor.startup, I do this:
Meteor.absoluteUrl({rootUrl: "http://example.com"});
Call Meteor.absoluteUrl () returns to the console: http://localhost:3000.
Any suggestions are welcome. Doing this Meteor.absoluteUrl ({replaceLocalhost: true}); also has no effect.
source
share