diff --git a/app.js b/app.js index b2ecc05..7630d9d 100644 --- a/app.js +++ b/app.js @@ -66,7 +66,7 @@ app.post("/login", function(req, res){ } }) -app.post("compose", (req, res) => { +app.post("/compose", (req, res) => { const post = { title: req.body.postTitle, content: req.body.postBody