Merge pull request #25 from glesage/master

res.send deprecated - updated to res.status
This commit is contained in:
Raymond Feng 2014-07-28 16:16:53 -07:00
commit 70db496d41
1 changed files with 1 additions and 1 deletions

View File

@ -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);
});
}