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/profil.js

9 lines
254 B
JavaScript
Raw Normal View History

2020-12-12 18:28:44 +01:00
const express = require("express");
2020-12-14 22:43:08 +01:00
const sessionCheck = require("./utils/sessionCheck");
2020-12-12 18:28:44 +01:00
const router = express.Router();
2020-11-21 14:02:01 +01:00
2020-12-14 22:43:08 +01:00
router.get("/", sessionCheck(1), (req, res) => {
2020-11-21 14:02:01 +01:00
res.render("pages/profil", { title: "L'ETU" });
});
module.exports = router;