This commit is contained in:
rzmk 2021-06-21 22:29:03 -04:00
parent d1b2b93d14
commit 4603c522dc

2
app.js
View file

@ -66,7 +66,7 @@ app.post("/login", function(req, res){
} }
}) })
app.post("compose", (req, res) => { app.post("/compose", (req, res) => {
const post = { const post = {
title: req.body.postTitle, title: req.body.postTitle,
content: req.body.postBody content: req.body.postBody