pastel.codes/routes/index.js

10 lines
207 B
JavaScript
Raw Normal View History

2020-06-17 22:34:29 +01:00
var express = require('express');
var router = express.Router();
/* GET home page. */
router.get('/', function(req, res, next) {
res.render('index', { title: 'Express' });
2020-06-17 22:34:29 +01:00
});
module.exports = router;