From 6f3c9a2dbbe3ba89f58e0de8f942acae650ed992 Mon Sep 17 00:00:00 2001 From: CaoMeiYouRen <40430746+CaoMeiYouRen@users.noreply.github.com> Date: Tue, 5 Sep 2023 18:38:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(route):=20=E4=BF=AE=E5=A4=8D=20=E7=B1=B3?= =?UTF-8?q?=E6=B8=B8=E7=A4=BE=20=E5=85=AC=E5=91=8A=E6=A0=8F=20template=20?= =?UTF-8?q?=E9=94=99=E8=AF=AF=20(#13217)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/v2/mihoyo/bbs/official.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/mihoyo/bbs/official.js b/lib/v2/mihoyo/bbs/official.js index 3c11e08a4..385263fc6 100644 --- a/lib/v2/mihoyo/bbs/official.js +++ b/lib/v2/mihoyo/bbs/official.js @@ -19,7 +19,7 @@ const TYPE_MAP = { 3: '资讯', }; -const renderDescription = (description, images) => art(path.join(__dirname, 'templates/description.art'), { description, images }); +const renderDescription = (description, images) => art(path.join(__dirname, '../templates/description.art'), { description, images }); module.exports = async (ctx) => { const { gids, type = '2', page_size = '20', last_id = '' } = ctx.params;