Update src/index.js
Docker Deployment / docker (push) Successful in 41s

This commit is contained in:
2026-05-20 08:23:55 +00:00
parent 2c2ca0f5cd
commit 25b3c97fa0
+1 -1
View File
@@ -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