JaBa/dashboard/routes/docs.js

13 lines
329 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,
2022-03-28 23:34:43 +05:00
currentURL: `${req.client.config.dashboard.baseURL}${req.originalUrl}`,
site: req.client.config.dashboard.baseURL,
2022-01-04 02:18:28 +05:00
});
});
module.exports = router;