Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROOT_URL is not supported #7

Closed
lc3t35 opened this issue Mar 11, 2018 · 3 comments
Closed

ROOT_URL is not supported #7

lc3t35 opened this issue Mar 11, 2018 · 3 comments

Comments

@lc3t35
Copy link

lc3t35 commented Mar 11, 2018

After CtrlD it fails to grab users and run functions server commands when I launch with :

ROOT_URL=http://192.168.1.x:3000/ meteor --settings settings-development.json 

In this case page is at http://192.168.1.x:3000/
If I launch with

meteor --settings settings-development.json 

Page is on localhost:3000 -> users and functions ok

@msavin
Copy link
Owner

msavin commented May 29, 2018

Are you running the business or developer edition? It could be that the developer edition only supports localhost:3000

@lc3t35
Copy link
Author

lc3t35 commented May 29, 2018

developer as I'm just testing -> is it possible to support ROOT_URL ?

@msavin
Copy link
Owner

msavin commented May 29, 2018

I'm not sure how you are using it, but maybe this workaround can get you through:

if (Meteor.isDevelopment) {
  return "localhost:3000"
} else {
  return ROOT_URL
}

How is your experience with the package otherwise?

@msavin msavin closed this as completed Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants