Browse Source

Allow streaming server to take bindhost from HOST env

closed-social-glitch-2
Daggertooth 7 years ago
parent
commit
7e17e764a5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      streaming/index.js

+ 1
- 1
streaming/index.js View File

@ -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…
Cancel
Save