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