12 lines
178 B
JavaScript
12 lines
178 B
JavaScript
|
let router = require("express").Router();
|
||
|
let isAuth = require("../user").isAuth;
|
||
|
|
||
|
|
||
|
router.get("/", isAuth, (req, res) => {
|
||
|
res.render("index");
|
||
|
});
|
||
|
|
||
|
|
||
|
module.exports = router;
|
||
|
|