13 lines
219 B
JavaScript
13 lines
219 B
JavaScript
'use strict';
|
|
|
|
const express = require('express');
|
|
let router = express.Router();
|
|
|
|
/* GET home page. */
|
|
router.get('/', (req, res, next) => {
|
|
res.json({
|
|
index: { title: 'Express' },
|
|
});
|
|
});
|
|
|
|
module.exports = router; |