From 4603c522dc0ce6b6f66d01627ba44a2c619482c3 Mon Sep 17 00:00:00 2001 From: rzmk Date: Mon, 21 Jun 2021 22:29:03 -0400 Subject: [PATCH] Fix POST --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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