From b17e172a5c66ba806df356cea15350504d02120c Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 25 Jan 2022 16:42:53 +0300 Subject: [PATCH] I always comment my code, what makes you think otherwise --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index eac1b19..0acbd92 100644 --- a/index.js +++ b/index.js @@ -22,9 +22,9 @@ if(process.env.PORT) { logger2 .success('Custom port is set. Using custom port ' + port) app.listen(port, () => { - if(process.env.CUSTOMURL) { - const customurl = process.env.CUSTOMURL; - logger2 + if(process.env.CUSTOMURL) { // Check if customURL is defined .env + const customurl = process.env.CUSTOMURL; // if it is, set customurl variable to the value in .env + logger2 // alternative to console.lgg because looks better leave me alone .success('Custom URL defined as ' + customurl) .info('App listening at ' + 'https://' + customurl) .comment('Godspeed, little fella!')