Add port number to server listen callback log

This commit is contained in:
Sam Ratcliffe 2020-12-05 17:39:23 -05:00
parent 2c447f967f
commit 2b7ad637fd

4
app.js
View File

@ -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}`))