From e119b32482c1f51f37227dd9324de1af0f0f7b88 Mon Sep 17 00:00:00 2001 From: festoney8 Date: Sat, 10 Feb 2024 01:20:36 +0800 Subject: [PATCH] fix: page detect adapt bnj2024 --- src/utils/page-type.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/page-type.ts b/src/utils/page-type.ts index abcc105f..051e2f60 100644 --- a/src/utils/page-type.ts +++ b/src/utils/page-type.ts @@ -28,7 +28,7 @@ const currPage = (): string => { return 'playlist' } // 匹配拜年祭活动页、拜年祭单品视频 - if (href.match(/bilibili\.com\/festival\/20\d\dbnj/)) { + if (href.match(/bilibili\.com\/festival\/20\d\dbnj/) || href.includes('bilibili.com/festival/bnj20')) { return 'bnj' } return ''