I always comment my code, what makes you think otherwise

This commit is contained in:
NotAShelf 2022-01-25 16:42:53 +03:00
parent ea9413d021
commit b17e172a5c
No known key found for this signature in database
GPG key ID: 2E4615E792DA9BAA

View file

@ -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!')