I've got meteor on a linux box that I develop on through SSH to a windows laptop. For simple apps I can just substitute the lan address (10.0.1.101:3000) for localhost:3000 in the (windows)browser and it works.
But working through a tutorial that uses oauth w twitter, it seems meteor hardcodes ROOT_URL as localhost when in development environment and sends that to twitter.js. This happens even though in dev.twitter.com I have given the callback URL as
http://10.0.1.101:3000/_oauth/twitter?close.
Is there someway to develop on a machine that is not localhost?
You need to set the environment variable before starting meteor:
ROOT_URL=http://10.0.1.101:3000 meteor
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