From 19bce99734fd1544e17d6a3a5abcac0dbcf814fc Mon Sep 17 00:00:00 2001 From: SOHAMSUPEKAR24 Date: Fri, 6 Dec 2024 19:24:32 +0530 Subject: [PATCH 1/5] updated version / app.js added code of this is version 2 in app.js --- version/app.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/version/app.js b/version/app.js index ea8302397..4ff22078e 100644 --- a/version/app.js +++ b/version/app.js @@ -5,10 +5,17 @@ var response; app.get('/', function (req, res) { - response = 'This is version 1 of the app.' + '\n'; + response = 'This is version 1 of the app.' + '\n'; - //send the response to the client - res.send(response); + //send the response to the client + res.send(response); + +}); +app.get('/', function (req, res) { + response = 'This is version 2 of the app.' + '\n'; + + //send the response to the client + res.send(response); }); From bb33a18bfaa31ec69178a9a70318ec3df54fcb56 Mon Sep 17 00:00:00 2001 From: SOHAMSUPEKAR24 Date: Fri, 6 Dec 2024 19:40:29 +0530 Subject: [PATCH 2/5] Update app.js --- version/app.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/version/app.js b/version/app.js index 4ff22078e..28537206a 100644 --- a/version/app.js +++ b/version/app.js @@ -10,13 +10,6 @@ app.get('/', function (req, res) { //send the response to the client res.send(response); -}); -app.get('/', function (req, res) { - response = 'This is version 2 of the app.' + '\n'; - - //send the response to the client - res.send(response); - }); app.listen(8080, function () { From 9fa5c1b31589a2577a0e6b3a7c63861e3740888b Mon Sep 17 00:00:00 2001 From: SOHAMSUPEKAR24 Date: Fri, 6 Dec 2024 19:41:53 +0530 Subject: [PATCH 3/5] Update app.js --- version/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/version/app.js b/version/app.js index 28537206a..a0b788a9c 100644 --- a/version/app.js +++ b/version/app.js @@ -4,8 +4,7 @@ app = express(); var response; app.get('/', function (req, res) { - - response = 'This is version 1 of the app.' + '\n'; + response = 'This is version 3 of the app.' + '\n'; //send the response to the client res.send(response); From 573a30ae4ecd1b0ac86a7d080bbafc64bb6e5009 Mon Sep 17 00:00:00 2001 From: SOHAMSUPEKAR24 Date: Mon, 27 Jan 2025 12:34:44 +0530 Subject: [PATCH 4/5] updated scale branch .php code execuated --- php-scale/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-scale/index.php b/php-scale/index.php index d046d8e6e..e023ee64d 100644 --- a/php-scale/index.php +++ b/php-scale/index.php @@ -1,3 +1,3 @@ " . gethostname() ." (" . $_SERVER['SERVER_ADDR'] . ")" . "\n"; + print "I am running on host by php scale -> " . gethostname() ." (" . $_SERVER['SERVER_ADDR'] . ")" . "\n"; ?> From 236403a9861c98be9e25859fed5279a07c265c58 Mon Sep 17 00:00:00 2001 From: SOHAMSUPEKAR24 Date: Mon, 27 Jan 2025 12:41:26 +0530 Subject: [PATCH 5/5] Updated troubleshoot branch contacts-troubleshoot made changes --- contacts-troubleshoot/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/contacts-troubleshoot/app.js b/contacts-troubleshoot/app.js index c7a42c817..2017c2fc4 100644 --- a/contacts-troubleshoot/app.js +++ b/contacts-troubleshoot/app.js @@ -7,6 +7,7 @@ var logger = require('morgan'); var indexRouter = require('./routes/index'); var app = express(); +console.log("Contacts troubleshoot"); // view engine setup app.set('views', path.join(__dirname, 'views'));