1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
letu/routes/index.js

10 lines
247 B
JavaScript
Raw Normal View History

let express = require("express");
let router = express.Router();
2020-10-12 23:34:51 +02:00
const sessionCheck = require("./utils/sessionCheck");
2020-10-12 23:34:51 +02:00
router.get("/", sessionCheck(1), (req, res) => {
2020-11-03 11:40:54 +01:00
res.render("pages/home", { title: "L'ETU" });
});
module.exports = router;