Fix stupid bugs that prevent the code being deployed.

This commit is contained in:
yuanhau 2025-05-27 22:16:15 +08:00
parent cb34764c27
commit c66b9cde13
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ async function lineToday(slug: string) {
} else {
author = authorInfo;
}
const orgAuthorDateData = html("span.entityPublishInfo-meta-info").text()
const orgAuthorDateData = html("span.entityPublishInfo-meta-info").text();
const updateMatch = orgAuthorDateData.match(/更新於\s*([^•]+)/);
const publishMatch = orgAuthorDateData.match(/發布於\s*(.+)$/);
let updatedAt: Date | null = null;