From a03db5fb5d09b85df359a6e2828e6bab4efc1e9f Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Wed, 6 Sep 2017 19:20:36 +0200 Subject: Add user friendly error page --- routes/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'routes') diff --git a/routes/index.js b/routes/index.js index 68f29b7..d496b3c 100644 --- a/routes/index.js +++ b/routes/index.js @@ -18,7 +18,8 @@ router.get('/', function (req, res, next) { res.render('index', { flagsStr, usersStr, validWeekNumbersStr }) }).catch(function () { console.error('Unable to get user info, emergency redirect!') - res.redirect('http://www.meetingpointmco.nl/Roosters-AL/doc/') + // res.redirect('http://www.meetingpointmco.nl/Roosters-AL/doc/') + res.render('redirect') }) }) -- cgit v1.1