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

no config/application.js in newer Sails versions #3

Closed
ZelimDamian opened this issue Dec 22, 2015 · 2 comments
Closed

no config/application.js in newer Sails versions #3

ZelimDamian opened this issue Dec 22, 2015 · 2 comments

Comments

@ZelimDamian
Copy link

With "sails": "~0.11.3" I can't seem to find the application.js file to put the process.env.port into. What would the new way of doing this be?

@ZelimDamian
Copy link
Author

According to this http://sailsjs.org/documentation/reference/configuration/sails-config its in config/local.js now.
The environment specified port will be picked up automatically. Is this suitable for heroku's port, which I presume is not different from a normal env var?

@ZelimDamian
Copy link
Author

Just confirmed that it is all happening automatically in newer versions of sails.

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

1 participant