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;