fix prod mode

This commit is contained in:
Rich Harris
2017-12-16 20:30:14 -05:00
parent e71bf298fb
commit 4f0b336627
2 changed files with 9 additions and 3 deletions

View File

@@ -62,6 +62,8 @@ module.exports = function connect(opts) {
'Cache-Control': 'max-age=31536000'
});
res.end(compiler.asset_cache[url]);
} else {
next();
}
}
}