mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 05:11:53 +01:00
Make it possible to bind streming service to 0.0.0.0 (#5744)
This commit is contained in:
parent
24cafd73a2
commit
2864e5e077
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ const startWorker = (workerId) => {
|
||||||
});
|
});
|
||||||
}, 30000);
|
}, 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}`);
|
log.info(`Worker ${workerId} now listening on ${server.address().address}:${server.address().port}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue