Listen on all IP addresses
This commit is contained in:
parent
3834a5d710
commit
069e1d3a1f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ const base = process.env.SSL_KEY && process.env.SSL_CERT && process.env.SSL_CA ?
|
|||
"cert": fs.readFileSync(process.env.SSL_CERT),
|
||||
"ca": fs.readFileSync(process.env.SSL_CA)
|
||||
}) : http.createServer();
|
||||
base.listen(+process.env.PORT!, () => {
|
||||
base.listen(+process.env.PORT!, '0.0.0.0', () => {
|
||||
console.log(`Listening on port ${process.env.PORT}`);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue