mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 16:06:21 +00:00
feat: have res.render return the compiled html
This commit is contained in:
parent
8f2a8400ea
commit
e9736f436c
@ -47,7 +47,8 @@ class NunjucksRenderer {
|
||||
resolve(html)
|
||||
})
|
||||
}).then(html => {
|
||||
return res.type('html').send(html)
|
||||
res.type('html').send(html)
|
||||
return html
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user