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