mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-12-02 01:54:58 +05:00
13 lines
No EOL
329 B
JavaScript
13 lines
No EOL
329 B
JavaScript
const express = require("express"),
|
|
router = express.Router();
|
|
|
|
router.get("/", function (req, res) {
|
|
res.render("docs", {
|
|
user: req.userInfos,
|
|
translate: req.translate,
|
|
currentURL: `${req.client.config.dashboard.baseURL}${req.originalUrl}`,
|
|
site: req.client.config.dashboard.baseURL,
|
|
});
|
|
});
|
|
|
|
module.exports = router; |