10 lines
278 B
JavaScript
10 lines
278 B
JavaScript
const express = require("express");
|
|
const router = express.Router();
|
|
const middleware = require("./middleware");
|
|
|
|
/* GET home page. */
|
|
router.get("/", middleware.sessionCheck, (req, res) => {
|
|
res.render("kitchen", { title: "Kfet - Kitchen" });
|
|
});
|
|
|
|
module.exports = router;
|