From 9ae2cbf61b7a1d73f05a24b383da8bf0f273978b Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 5 Mar 2024 03:47:12 +0800 Subject: [PATCH] fix(route): 0818tuan (#14654) --- lib/routes/0818tuan/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/0818tuan/index.ts b/lib/routes/0818tuan/index.ts index 606206434..6506e9abc 100644 --- a/lib/routes/0818tuan/index.ts +++ b/lib/routes/0818tuan/index.ts @@ -19,7 +19,7 @@ export default async (ctx) => { item = $(item); return { title: item.attr('title'), - link: `${baseUrl}${item.attr('href')}`, + link: item.attr('href').startsWith('http') ? item.attr('href') : `${baseUrl}${item.attr('href')}`, }; }) .filter((i) => !i.link.includes('m.0818tuan.com/tb1111.php'));