From 25b3c97fa06c2914f57012a504e833cae477fa34 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 20 May 2026 08:23:55 +0000 Subject: [PATCH] Update src/index.js --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 3ca077e..43d3d20 100644 --- a/src/index.js +++ b/src/index.js @@ -17,7 +17,7 @@ var task = ["buy a new udemy course", "practise with kubernetes"]; var complete = ["finish reading the book"]; -//post route for adding new task +//post route for adding new task / app.post("/addtask", function (req, res) { var newTask = req.body.newtask; //add the new task from the post route