From 4f3c0a20c70f42fb4a0805230ed9f5253ddfb7c7 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Mon, 28 Mar 2022 23:34:43 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D1=81=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/routes/docs.js | 3 ++- dashboard/views/docs.ejs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dashboard/routes/docs.js b/dashboard/routes/docs.js index 40f55f68..a5bf3bb0 100644 --- a/dashboard/routes/docs.js +++ b/dashboard/routes/docs.js @@ -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 }); }); diff --git a/dashboard/views/docs.ejs b/dashboard/views/docs.ejs index 0d18a667..b8ecebe2 100644 --- a/dashboard/views/docs.ejs +++ b/dashboard/views/docs.ejs @@ -121,7 +121,7 @@
- +