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.