diff --git a/lib/server.js b/lib/server.js index 90e765f5..ca9471f4 100644 --- a/lib/server.js +++ b/lib/server.js @@ -98,7 +98,7 @@ YUI.add('server', function (Y) { } - res.send(html.join('\n'), 404); + res.status(404).send(html.join('\n')); }); },