Skip to content

Commit 92b8da2

Browse files
authored
fix(github): update topics route selector to fix empty route (#21560)
解决GitHub Topics路由"Error: this route is empty"问题。
1 parent a2861cd commit 92b8da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/routes/github/topic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async function handler(ctx) {
4646
title: $('title').text(),
4747
description: $('.markdown-body').text().trim(),
4848
link: url,
49-
item: $('article.my-4')
49+
item: $('article.border')
5050
.toArray()
5151
.map((item) => {
5252
item = $(item);

0 commit comments

Comments
 (0)