From 747817edd85751073b00b5d257d926e0c43fce04 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Wed, 14 Mar 2018 20:31:16 +0100 Subject: [PATCH] Little Comment --- middleware/staticTemplate.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/middleware/staticTemplate.js b/middleware/staticTemplate.js index 61c9ef59f..1d79f0011 100644 --- a/middleware/staticTemplate.js +++ b/middleware/staticTemplate.js @@ -81,6 +81,8 @@ module.exports = async (req, res, next) => { // Always attach the locals. attachStaticLocals(res.locals); + // Resolve will help resolving paths to static files + // using the manifest. res.locals.resolve = resolve; // Forward the request.