Update:Remove HOST default to allow for ipv6 #1256

This commit is contained in:
advplyr 2022-12-17 15:55:53 -06:00
parent c06d734d5e
commit 10295b000a
2 changed files with 3 additions and 2 deletions

View file

@ -240,7 +240,8 @@ class Server {
app.get('/healthcheck', (req, res) => res.sendStatus(200))
this.server.listen(this.Port, this.Host, () => {
Logger.info(`Listening on http://${this.Host}:${this.Port}`)
if (this.Host) Logger.info(`Listening on http://${this.Host}:${this.Port}`)
else Logger.info(`Listening on port :${this.Port}`)
})
// Start listening for socket connections