From 596e20e12351afe90c622c3884575a26136732d5 Mon Sep 17 00:00:00 2001 From: Randy Date: Thu, 25 Oct 2012 10:21:34 -0700 Subject: [PATCH] Add default port of process.env.PORT if port isnt specified in settings.json --- src/node/utils/Settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/utils/Settings.js b/src/node/utils/Settings.js index dd34ac5ee..3d7894d52 100644 --- a/src/node/utils/Settings.js +++ b/src/node/utils/Settings.js @@ -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 */