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

config.js PORT default 8080 is ignored #17

Closed
wtogami opened this issue May 4, 2014 · 2 comments
Closed

config.js PORT default 8080 is ignored #17

wtogami opened this issue May 4, 2014 · 2 comments
Labels

Comments

@wtogami
Copy link
Collaborator

wtogami commented May 4, 2014

https://github.com/slickage/baron/blob/master/config.js#L4

  port: process.env.PORT || 8080,

Explicitly setting the environment variable PORT succeeds in changing the Baron HTTP listen port number. However if PORT is unset the default should be 8080 but it instead listens on port 5000. (I am not sure where 5000 is coming from.)

@wtogami wtogami added the bug label May 4, 2014
@akinsey
Copy link
Member

akinsey commented May 5, 2014

This seems to be working ok, when I ran baron without the port set in the ENV file

@akinsey akinsey closed this as completed May 5, 2014
@wtogami
Copy link
Collaborator Author

wtogami commented May 5, 2014

Something else you changed today fixed it. Good work. =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants