Changed status code for missing resource

This commit is contained in:
Fergal Moran
2014-08-24 20:45:02 +01:00
parent 4210ff0efb
commit d342a6470c

View File

@@ -86,6 +86,6 @@ app.post("/notification", function (req, res) {
clients[sessions[req.body.sessionid]].emit('notification', {message: req.body.message});
res.send(req.body);
}else{
res.send(404);
res.send(410);
}
});