From 53c8203f82c3d0068bd10ee2f2a395402a9cef0f Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 24 Jan 2022 18:39:57 +0300 Subject: [PATCH] use port 3005 if no port is defined --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 6c6c003..eb5453d 100644 --- a/index.js +++ b/index.js @@ -8,7 +8,7 @@ const port = process.env.PORT; const customurl = process.env.CUSTOMURL; app.listen(port, () => { - console.log('App listening at http://localhost:' + port); + console.log('App listening at http://localhost:' + port || 3005); console.log('Godspeed, little fella!'); });