diff --git a/middleware.js b/middleware.js index 0cb1b2f25..6710333cd 100644 --- a/middleware.js +++ b/middleware.js @@ -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); }