allow port config via env variable
This commit is contained in:
parent
e3fd639b52
commit
a3835e0e2b
@ -32,6 +32,7 @@ if (process.env.INSIGHT_NETWORK === 'livenet') {
|
|||||||
b_port = '18332';
|
b_port = '18332';
|
||||||
p2p_port = '18333';
|
p2p_port = '18333';
|
||||||
}
|
}
|
||||||
|
port = parseInt(process.env.INSIGHT_PORT) || port;
|
||||||
|
|
||||||
|
|
||||||
switch (process.env.NODE_ENV) {
|
switch (process.env.NODE_ENV) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user