Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent 783ac17 commit 3fb381b1daf5b289b57e3c69fc30988351cc5274 @alexindigo alexindigo committed Jan 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -74,7 +74,7 @@ For example, you could serve an error page, when the initial request wasn't foun
request.addListener('end', function () {
fileServer.serve(request, response, function (e, res) {
if (e && (e.status === 404)) { // If the file wasn't found
- fileServer.serveFile('/not-found.html', request, response);
+ fileServer.serveFile('/not-found.html', 404, {}, request, response);
}
});
});

0 comments on commit 3fb381b

Please sign in to comment.