10 lines
197 B
JavaScript
10 lines
197 B
JavaScript
var express = require('express');
|
|
var router = express.Router();
|
|
|
|
/* GET home page. */
|
|
router.get('/', function(req, res) {
|
|
res.render('index', { title: 'Express'});
|
|
});
|
|
|
|
module.exports = router;
|