windows - Can't override Meteor absoluteUrl? -


I am trying to override the full server to the connection with the deployment on the Windows server.

On the server at Meteor.startup, I am doing this:

  Meteor.absoluteUrl ({rootUrl: "http://example.com"});   

Outlined mentioned in the console return:. http: // localhost: 3000 .

Any suggestions are most welcome this Meteor.absoluteUrl ({replaceLocalhost: true});

Try:

  Meteor.absoluteUrl.defaultOptions.rootUrl = "Http://mydomain.com"   

In your Meteor.startup. If this is not to isolate settings, you can also use environment variable ROOT_URL

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -