From b372892f8d8ab35d6798fdfc5858057d3eaad33b Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Wed, 22 Oct 2025 20:29:49 -0600 Subject: [PATCH] Update pdf.js --- pdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf.js b/pdf.js index 5abf583..59eb82b 100644 --- a/pdf.js +++ b/pdf.js @@ -1,4 +1,4 @@ -const pdfjsPath = path => new URL(`vendor/pdfjs/${path}`, import.meta.url).toString() +const pdfjsPath = (path: string) => new URL(`./vendor/pdfjs/${path}`, import.meta.url).toString() import './vendor/pdfjs/pdf.mjs' const pdfjsLib = globalThis.pdfjsLib