diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-09-06 19:20:36 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-09-06 19:20:36 +0200 |
commit | a03db5fb5d09b85df359a6e2828e6bab4efc1e9f (patch) | |
tree | 6a872dcee284010fb383af41af8975033db4fe0c /routes/index.js | |
parent | 702794c8feab387772a8d9913df847c55e8842d5 (diff) |
Add user friendly error page
Diffstat (limited to 'routes/index.js')
-rw-r--r-- | routes/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
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') }) }) |