fix(route): 修复 米游社 公告栏 template 错误 (#13217)

This commit is contained in:
CaoMeiYouRen 2023-09-05 18:38:21 +08:00 committed by GitHub
parent 5dc8d67a40
commit 6f3c9a2dbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;