From 37626ba44a51d73ad006c87bf85e5c00b5ea240f Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Sat, 22 Jun 2024 01:40:58 +0800 Subject: [PATCH] PDF: default to odd pages right --- pdf.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pdf.js b/pdf.js index 19d937e..8ea5c2d 100644 --- a/pdf.js +++ b/pdf.js @@ -592,6 +592,7 @@ export const makePDF = async file => { }, size: 1000, })) + book.sections[0].pageSpread = 'right' book.isExternal = uri => /^\w+:/i.test(uri) book.resolveHref = async href => { const parsed = JSON.parse(href)