pastel.codes/routes/index.js

10 lines
238 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) {
2020-06-22 17:44:15 +01:00
res.render('index', { title: 'Home', description: "Hello, I'm Esther" });
2020-06-17 22:34:29 +01:00
});
module.exports = router;