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
Post a Comment