1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Add process.env.PORT to settings.js as we said we would

This commit is contained in:
Dave Conway-Jones 2016-04-14 09:03:15 +01:00
parent 321f5e615b
commit af9aa74337

View File

@ -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