Add port number to server listen callback log
This commit is contained in:
parent
2c447f967f
commit
2b7ad637fd
4
app.js
4
app.js
|
@ -115,6 +115,6 @@ redis.on('error', (error) => {
|
|||
})
|
||||
|
||||
if(config.https_enabled) {
|
||||
https.listen(config.ssl_port, '::', () => console.log(`Teddit running on https://${config.domain}`))
|
||||
https.listen(config.ssl_port, '::', () => console.log(`Teddit running on https://${config.domain}:${config.ssl_port}`))
|
||||
}
|
||||
http.listen(config.nonssl_port, '::', () => console.log(`Teddit running on http://${config.domain}`))
|
||||
http.listen(config.nonssl_port, '::', () => console.log(`Teddit running on http://${config.domain}:${config.nonssl_port}`))
|
||||
|
|
Loading…
Reference in New Issue