JaBa/dashboard/routes/docs.js

12 lines
283 B
JavaScript
Raw Normal View History

2022-01-04 02:18:28 +05:00
const express = require("express"),
2022-01-13 00:26:23 +05:00
router = express.Router();
2022-01-04 02:18:28 +05:00
router.get("/", function (req, res) {
res.render("docs", {
user: req.userInfos,
translate: req.translate,
currentURL: `${req.client.config.dashboard.baseURL}${req.originalUrl}`
2022-01-04 02:18:28 +05:00
});
});
module.exports = router;