Add default port of process.env.PORT if port isnt specified in settings.json

This commit is contained in:
Randy 2012-10-25 10:21:34 -07:00
parent a80eb93f75
commit 596e20e123
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ exports.ip = "0.0.0.0";
/**
* The Port ep-lite should listen to
*/
exports.port = 9001;
exports.port = process.env.PORT || 9001;
/*
* The Type of the database
*/