create separate js bundles for upload/download pages

This commit is contained in:
Danny Coates 2017-07-21 15:38:35 -07:00
parent 7243a10340
commit 31b810eb7d
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
13 changed files with 252 additions and 1058 deletions

View file

@ -124,7 +124,7 @@ app.get('/download/:id', (req, res) => {
})
})
.catch(() => {
res.render('download');
res.status(404).render('notfound');
});
});
});