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
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');
});
});
});