Updated dependencies + fonts optimizations

This commit is contained in:
NGPixel
2016-12-27 21:46:06 -05:00
parent 9caaeee682
commit 4535df89f9
18 changed files with 113 additions and 739 deletions

View File

@@ -137,10 +137,11 @@ router.get('/source/*', (req, res, next) => {
cache: false
}).then((pageData) => {
if(pageData) {
return res.render('pages/source', { pageData });
res.render('pages/source', { pageData });
} else {
throw new Error('Invalid page path.');
}
return true;
}).catch((err) => {
res.render('error', {
message: err.message,