fix(route): fix URL concatenation of PKU BBS posts (#16922)

This commit is contained in:
Guorui Yu
2024-09-25 21:09:00 +08:00
committed by GitHub
parent 569e245d9b
commit 94eacdf706
+1 -1
View File
@@ -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'), 'https://bbs.pku.edu.cn/v2').href,
url: new URL($(this).find('> a.link').attr('href'), 'https://bbs.pku.edu.cn/v2/').href,
title: $(this).find('.title').text(),
};
})