diff --git a/controllers/middlewares/nunjucksRenderer.js b/controllers/middlewares/nunjucksRenderer.js index 529e761..a1f41c0 100644 --- a/controllers/middlewares/nunjucksRenderer.js +++ b/controllers/middlewares/nunjucksRenderer.js @@ -47,7 +47,8 @@ class NunjucksRenderer { resolve(html) }) }).then(html => { - return res.type('html').send(html) + res.type('html').send(html) + return html }) }