mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 19:58:07 +01:00
Merge pull request #217 from monsterpit-daggertooth/fix-streaming-host-env
Allow streaming server to take bindhost from HOST env
This commit is contained in:
commit
88627fd7aa
1 changed files with 1 additions and 1 deletions
|
@ -467,7 +467,7 @@ const startWorker = (workerId) => {
|
||||||
});
|
});
|
||||||
}, 30000);
|
}, 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}`);
|
log.info(`Worker ${workerId} now listening on ${server.address().address}:${server.address().port}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue