aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/config/express.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-04-29 03:39:15 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-04-29 03:39:15 +0200
commitfc50b5b7f18d02ffa8056dc1edbd3bd43e973493 (patch)
treee4646512634a42790bbddfec8b3d035bb2052cec /config/express.js
parentadded twitter authentication (diff)
downloadDivid-fc50b5b7f18d02ffa8056dc1edbd3bd43e973493.tar.gz
been cleaning a bit, moving stuff to where it belongs. signup and
signin works.
Diffstat (limited to 'config/express.js')
-rw-r--r--config/express.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/express.js b/config/express.js
index 4afd827..eb10b20 100644
--- a/config/express.js
+++ b/config/express.js
@@ -48,11 +48,11 @@ module.exports = function (app, config, passport) {
console.error(err.stack);
- res.status(500).render('500', { error: err.stack }); // render page
+ res.status(500).render('error', { title: '500', text: 'En serverfeil oppstod', error: err.stack }); // render page
});
app.use(function(req, res, next) {
- res.status(404).render('404', { url: req.originalUrl, error: 'Not found' }); // render page
+ res.status(404).render('error', { title: '404', text: 'Fant ikke siden du så etter' }); // render page
});
});
}