From d4557a6c7e8321e79df0f85f3d2b765b6c7eb704 Mon Sep 17 00:00:00 2001 From: JimenezLi <75196426+JimenezLi@users.noreply.github.com> Date: Sat, 11 May 2024 00:36:20 +0800 Subject: [PATCH] fix(route): /zju/cst (#15550) --- lib/routes/zju/cst/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/zju/cst/index.ts b/lib/routes/zju/cst/index.ts index ad4af0678c1269..399ddff5363517 100644 --- a/lib/routes/zju/cst/index.ts +++ b/lib/routes/zju/cst/index.ts @@ -37,7 +37,7 @@ async function getPage(id) { return { title: item.find('a').text(), pubDate: parseDate(item.find('.fr').text()), - link: new URL(item.find('a').attr('href'), res.url).href, + link: new URL(item.find('a').attr('href'), host).href, }; }) .get()