From 06fc496d35f1346308955227a46ee1529ec890be Mon Sep 17 00:00:00 2001 From: Aman Kumar Date: Tue, 8 Jun 2021 23:08:47 +0530 Subject: [PATCH] :rocket: updating port settings --- server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index f8a841c..2ac92a2 100644 --- a/server.js +++ b/server.js @@ -18,7 +18,8 @@ const { finished } = require('stream'); var app = express(); // var server = app.listen(8000, listening); - +var server = app.listen(process.env.PORT || 3000, + () => console.log("Server is running...")); function listening() { console.log("listening..."); }