diff --git a/index.js b/index.js index 33aa0df..f2be829 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ app.use(express.static(clientPath)); const server = http.createServer(app); app.post('/message', (req, res) => { - + res.status(200).send(req.body); }); server.on('error', err => {