mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-21 14:23:04 +00:00
Allow streaming server to take bindhost from HOST env
This commit is contained in:
parent
04508868b0
commit
7e17e764a5
|
@ -467,7 +467,7 @@ const startWorker = (workerId) => {
|
|||
});
|
||||
}, 30000);
|
||||
|
||||
server.listen(process.env.PORT || 4000, () => {
|
||||
server.listen(process.env.PORT || 4000, process.env.HOST || '127.0.0.1', () => {
|
||||
log.info(`Worker ${workerId} now listening on ${server.address().address}:${server.address().port}`);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue