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