From 1dd2cb5fe1a12da0e07c28525cd4b0d3c55cd98f Mon Sep 17 00:00:00 2001 From: teddit Date: Fri, 4 Dec 2020 23:11:43 +0100 Subject: [PATCH] add port for listening http --- app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.js b/app.js index e703ead..2539b58 100644 --- a/app.js +++ b/app.js @@ -102,6 +102,5 @@ redis.on('error', (error) => { if(config.https_enabled) { https.listen(config.ssl_port, '::', () => console.log(`Teddit running on https://${config.domain}`)) - //https.listen(SSL_PORT, '::', () => console.log(`Teddit running on https://${domain}`)) } -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}`))