From af9aa74337f94373f2654226c3b7b9a2972ad35e Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Thu, 14 Apr 2016 09:03:15 +0100 Subject: [PATCH] Add process.env.PORT to settings.js as we said we would --- settings.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/settings.js b/settings.js index 3fa587f60..67e04b925 100644 --- a/settings.js +++ b/settings.js @@ -20,7 +20,7 @@ module.exports = { // the tcp port that the Node-RED web server is listening on - uiPort: 1880, + uiPort: process.env.PORT || 1880, // By default, the Node-RED UI accepts connections on all IPv4 interfaces. // The following property can be used to listen on a specific interface. For @@ -175,7 +175,6 @@ module.exports = { // debug - record information which is more verbose than info + info + warn + error + fatal errors // trace - record very detailed logging + debug + info + warn + error + fatal errors level: "info", - // Whether or not to include metric events in the log output metrics: false, // Whether or not to include audit events in the log output