diff options
Diffstat (limited to 'back/src/server.ts')
-rw-r--r-- | back/src/server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/back/src/server.ts b/back/src/server.ts index 3fe879f..ac3ed70 100644 --- a/back/src/server.ts +++ b/back/src/server.ts @@ -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}`); }); |