Fix for pledges list: end -> send
Because the other one was making the browser try to download the
page instead of just opening it. (We actually ran into this before,
but I guess I forgot 😛)
This commit is contained in:
parent
668371a690
commit
dfce6c7278
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ router.get('/pledges', async (req, res) => {
|
|||
twing.render('pledges.htm.twig', {
|
||||
'recent_pledges': recentPledges,
|
||||
}).then((output) => {
|
||||
res.end(output)
|
||||
res.send(output)
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue