Skip to content

Commit

Permalink
fix #719
Browse files Browse the repository at this point in the history
  • Loading branch information
ldm0206 committed Jan 9, 2025
1 parent e95a383 commit 6ee79d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ export abstract class BaseRuleClass {
log.debug("[initChapters]筛选需下载章节");
_chapters = _chapters.filter((chapter) => _filter(chapter));
}
_book.chapters = _chapters;
return _chapters;
}

Expand Down
2 changes: 1 addition & 1 deletion src/rules/twoPage/linovelib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ async function getFanqieFontTable(fontName: string, fontlink: string) {
}

async function fetchRemoteFont(fontName: string) {
const url = `https://fastly.jsdelivr.net/gh/404-novel-project/Universal_font_tables@master/${fontName}.json`;
const url = `https://fastly.jsdelivr.net/gh/404-novel-project/Universal_font_tables@main/${fontName}.json`;
log.info(`[linovelib-font]开始请求远程字体对照表 ${fontName}`);
const retryLimit = 10;
let retry = retryLimit;
Expand Down

0 comments on commit 6ee79d4

Please sign in to comment.