Added redirect for /demo

master
Keith Irwin 2017-08-20 16:26:47 -04:00
parent 4ef442274c
commit cda3a79be9
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
1 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,12 @@ module.exports = router
.get('/', (req,res,next)=>{
res.render('index', {active:'home'});
})
// Demo redirect
.get('/demo', (req,res,next)=>{
res.redirect('/map/demo');
})
// Help
.get('/help', (req,res)=>{
res.render('help', {active:'help'});