Skip to content

Commit

Permalink
fix: fix pku bbs url error (DIYgod#16753)
Browse files Browse the repository at this point in the history
  • Loading branch information
william-swl committed Sep 14, 2024
1 parent 6f6aa40 commit 0605590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/pku/bbs/hot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function handler() {
const listItems = $('#list-content .list-item')
.map(function () {
return {
url: new URL($(this).find('> a.link').attr('href'), r.url).href,
url: new URL($(this).find('> a.link').attr('href'), 'https://bbs.pku.edu.cn/v2').href,
title: $(this).find('.title').text(),
};
})
Expand Down

0 comments on commit 0605590

Please sign in to comment.