10 lines
234 B
JavaScript
10 lines
234 B
JavaScript
var express = require('express');
|
|
const fs = require('fs');
|
|
var router = express.Router();
|
|
|
|
/* GET home page. */
|
|
router.get('/', function (req, res, next) {
|
|
res.render('list', {title: 'List'});
|
|
});
|
|
|
|
module.exports = router; |