mirror of
https://github.com/fergalmoran/dss-realtime.git
synced 2025-12-22 09:38:06 +00:00
Added missing resource loggin
This commit is contained in:
@@ -86,6 +86,7 @@ app.post("/notification", function (req, res) {
|
||||
clients[sessions[req.body.sessionid]].emit('notification', {message: req.body.message});
|
||||
res.send(req.body);
|
||||
}else{
|
||||
res.send(410);
|
||||
console.log("Session with key " + req.body.sessionid + "not found");
|
||||
res.status(410).end();
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user