From fea53e9716b6d8156cbebf8fc7e2ae5cf5d33635 Mon Sep 17 00:00:00 2001 From: qixingchen <4182240+Qixingchen@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:54:07 +0800 Subject: [PATCH] fix: DIYgod/RSSHub-Radar#953 (#14828) --- lib/routes/github/comments.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/github/comments.ts b/lib/routes/github/comments.ts index cb9b618be..929204ea0 100644 --- a/lib/routes/github/comments.ts +++ b/lib/routes/github/comments.ts @@ -31,8 +31,8 @@ export const route: Route = { }, radar: [ { - source: ['github.com/:user/:repo/:type'], - target: '/comments/:user/:repo', + source: ['github.com/:user/:repo/:type', 'github.com/:user/:repo/:type/:number'], + target: '/comments/:user/:repo/:number?', }, ], name: 'Issue / Pull Request comments',