Gottwik / Enduro

Minimalistic, lean & mean, node.js cms
http://www.endurojs.com/
MIT License
690 stars 120 forks source link

How do I set process.env.PORT in EnduroJS? #324

Open Steven-lim1412 opened 5 years ago

Steven-lim1412 commented 5 years ago

Hi.

Because Heroku uses random port, the default port that Enduro uses (5000) may not always work. As such it needs to be set to process.env.PORT. But I am not sure how I can do that. Kindly advise