about summary refs log tree commit diff
path: root/streaming
diff options
context:
space:
mode:
authorJenkins <jenkins@jenkins.ninjawedding.org>2017-11-18 06:17:14 +0000
committerJenkins <jenkins@jenkins.ninjawedding.org>2017-11-18 06:17:14 +0000
commiteed50514bea3c5a1aa96b0193b26331014bf9e9b (patch)
tree6a3c1a4e6b2b4e990c962c30c93121e616aeda9c /streaming
parent5a9982b425d3db65d813eb0314a27cea16f0f52d (diff)
parent6be72a3ec6d87af4de245b96fea45191ac01114e (diff)
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Diffstat (limited to 'streaming')
-rw-r--r--streaming/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/index.js b/streaming/index.js
index 42df63031..3048802e3 100644
--- a/streaming/index.js
+++ b/streaming/index.js
@@ -515,7 +515,7 @@ const startWorker = (workerId) => {
     });
   }, 30000);
 
-  server.listen(process.env.PORT || 4000, () => {
+  server.listen(process.env.PORT || 4000, process.env.BIND || '0.0.0.0', () => {
     log.info(`Worker ${workerId} now listening on ${server.address().address}:${server.address().port}`);
   });