From 31c37eded7bd9b5e5fcfc28bfd73c1b8401cce24 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 5 Aug 2024 14:01:31 -0600 Subject: [PATCH] Show port --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 90b526f..5b762d6 100644 --- a/index.js +++ b/index.js @@ -90,5 +90,5 @@ app.post('/shorten', (req, res) => { // Shorten URL port = process.env.SERVER_PORT || 3000; app.listen(port, () => { - console.log('Server is running on port 3000'); + console.log(`Server is running on port ${port}`); }); \ No newline at end of file