I'm currently developing on my server, not on my personal computer, but it seems to be impossible to tell it to Meteor, as I'm trying to use Facebook login. The expected login url for app.example.com
is
https://www.facebook.com/dialog/oauth?client_id=<client id>&redirect_uri=http://app.example.com/_oauth/facebook?close&<more junk>
But I always get
https://www.facebook.com/dialog/oauth?client_id=<client id>&redirect_uri=http://localhost:3000/_oauth/facebook?close&<more junk>
I'm using Nginx as a proxy for Meteor server, so I should be able to access it pointing to app.example.com
, but Meteor seems to not detect it. Where is it changeable?
You should set the environment value ROOT_URL before executing meteor, i.e.
ROOT_URL=http://app.example.com meteor run
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With