10 lines
276 B
JavaScript
10 lines
276 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("stocks", { title: "Kfet - Stocks" });
|
|
});
|
|
|
|
module.exports = router;
|