Skip to content

Commit

Permalink
set statusCode to 200 (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
mofelee authored and SpaceK33z committed Aug 21, 2016
1 parent 8044d04 commit 024ac8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ module.exports = function(compiler, options) {
res.setHeader(name, options.headers[name]);
}
}
res.statusCode = 200;
if (res.send) res.send(content);
else res.end(content);
}
Expand Down

0 comments on commit 024ac8b

Please sign in to comment.