changed header fields
This commit is contained in:
parent
dfbc37ac37
commit
c858373d0b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user