From a3835e0e2bb2d5a4faef55aecec9283b8bc7d178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Ar=C3=A1oz?= Date: Tue, 16 Sep 2014 01:21:04 -0300 Subject: [PATCH] allow port config via env variable --- config/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config.js b/config/config.js index dc95a24..e5ecd6f 100644 --- a/config/config.js +++ b/config/config.js @@ -32,6 +32,7 @@ if (process.env.INSIGHT_NETWORK === 'livenet') { b_port = '18332'; p2p_port = '18333'; } +port = parseInt(process.env.INSIGHT_PORT) || port; switch (process.env.NODE_ENV) {