From 73ec8161abfbec9bd30617c06a4e09683fedf697 Mon Sep 17 00:00:00 2001 From: Tony Date: Sat, 27 May 2023 17:07:01 +0300 Subject: [PATCH] fix(route): wnacg (#12567) --- lib/v2/wnacg/index.js | 2 +- lib/v2/wnacg/templates/manga.art | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/v2/wnacg/index.js b/lib/v2/wnacg/index.js index 425e30828..c130ac1c8 100644 --- a/lib/v2/wnacg/index.js +++ b/lib/v2/wnacg/index.js @@ -23,7 +23,7 @@ const categories = { 21: '韓漫 生肉', }; -const baseUrl = 'https://wnacg.org'; +const baseUrl = 'https://www.wnacg.com'; module.exports = async (ctx) => { const { cid, tag } = ctx.params; diff --git a/lib/v2/wnacg/templates/manga.art b/lib/v2/wnacg/templates/manga.art index a812bb092..b3ae22822 100644 --- a/lib/v2/wnacg/templates/manga.art +++ b/lib/v2/wnacg/templates/manga.art @@ -1,9 +1,9 @@ {{ if description }} -{{@ description }} + {{@ description }} {{ /if }}
{{ if imgList }} -{{ each imgList img }} -{{ img.caption }} -{{ /each }} + {{ each imgList img }} + {{ img.caption }} + {{ /each }} {{ /if }}