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