From 2b7ad637fd47db31daac7cf55d49b7ee85f4db82 Mon Sep 17 00:00:00 2001 From: Sam Ratcliffe Date: Sat, 5 Dec 2020 17:39:23 -0500 Subject: [PATCH] Add port number to server listen callback log --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 15911c6..6a44afb 100644 --- a/app.js +++ b/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}`))