Fix res.send (migrate to express v3)

This commit is contained in:
Marcel Klehr 2012-09-22 13:51:39 +02:00
parent ff7cf991c9
commit 71579d1478
5 changed files with 8 additions and 12 deletions

View file

@ -56,7 +56,7 @@ exports.expressCreateServer = function (hook_name, args, cb) {
ERR(err);
if(err == "notfound")
res.send('404 - Not Found', 404);
res.send(404, '404 - Not Found');
else
res.send(html);
});