changed header fields

This commit is contained in:
Lukas Bachschwell 2017-03-19 13:26:55 +01:00
parent dfbc37ac37
commit c858373d0b

View File

@ -3,12 +3,12 @@ let router = express.Router();
/* GET home page. */ /* GET home page. */
router.get('/', function(req, res, next) { router.get('/', function(req, res, next) {
res.render('index', { title: 'Muhahaha' }); res.render('index', { mainHeader: 'Aktueller Spielstand' });
}); });
router.get('/admin', function(req, res, next) { router.get('/admin', function(req, res, next) {
//res.send('respond with a resource'); //res.send('respond with a resource');
res.render('admin', { title: 'Muhahaha ADMIN' }); res.render('admin', { mainHeader: 'Admin Interface' });
}); });
module.exports = router; module.exports = router;