Merge pull request #25 from glesage/master
res.send deprecated - updated to res.status
This commit is contained in:
commit
70db496d41
|
@ -102,7 +102,7 @@ function addRoute(app, uri, doc) {
|
|||
var host = headers.Host || headers.host;
|
||||
doc.basePath = req.protocol + '://' + host + initialPath;
|
||||
}
|
||||
res.send(200, doc);
|
||||
res.status(200).send(doc);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue