Skip to content

Commit

Permalink
fix(renderer): fix static build not working due to missing res.locals…
Browse files Browse the repository at this point in the history
….timing
  • Loading branch information
robin-drexler committed Mar 16, 2018
1 parent 31b38bb commit 9bb1b35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/build/lib/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ var createMiddleware = require('./middleware');

module.exports = function createRenderer(webpackConfig, watchOptions) {
var router = new express.Router();
router.use(hopsExpressUtils.timings);
hopsExpressUtils.bootstrap(router, hopsConfig);
hopsExpressUtils.registerMiddleware(
router,
Expand Down

0 comments on commit 9bb1b35

Please sign in to comment.