9 lines
242 B
JavaScript
9 lines
242 B
JavaScript
let express = require("express");
|
|
let router = express.Router();
|
|
const sessionCheck = require("./utils/sessionCheck");
|
|
|
|
router.get("/", sessionCheck(1), (req, res) => {
|
|
res.render("index", { title: "L'ETU" });
|
|
});
|
|
|
|
module.exports = router;
|