This commit is contained in:
JonnyBro 2022-03-28 23:34:43 +05:00
parent 7e31d8c9e0
commit 4f3c0a20c7
2 changed files with 3 additions and 2 deletions

View file

@ -5,7 +5,8 @@ router.get("/", function (req, res) {
res.render("docs", {
user: req.userInfos,
translate: req.translate,
currentURL: `${req.client.config.dashboard.baseURL}${req.originalUrl}`
currentURL: `${req.client.config.dashboard.baseURL}${req.originalUrl}`,
site: req.client.config.dashboard.baseURL
});
});

View file

@ -121,7 +121,7 @@
<!-- end row -->
<div class="row">
<div class="col-md-12">
<zero-md src="https://jaba.pp.ua/docs/commands.md">
<zero-md src="<%=site%>/docs/commands.md">
<template>
<link rel="stylesheet" href="/dist/css/zero-md.css">
</template>