commit: 2864e5e07791577d4aacbe1ea2b8115ac79ce360
parent: 24cafd73a2b644025e9aeaadf4fed46dd3ecea4d
Author: Baptiste Gelez <baptiste@gelez.xyz>
Date: Sat, 18 Nov 2017 04:44:19 +0100
Make it possible to bind streming service to 0.0.0.0 (#5744)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/streaming/index.js b/streaming/index.js
@@ -508,7 +508,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}`);
});