From 4e834464f378260d94d65bd06678046dad21be41 Mon Sep 17 00:00:00 2001 From: octocorvus Date: Mon, 20 Nov 2023 13:53:38 +0000 Subject: [PATCH] update worker import for PDF.js v4 --- viewer/js/worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viewer/js/worker.js b/viewer/js/worker.js index 37fdb706..860385bb 100644 --- a/viewer/js/worker.js +++ b/viewer/js/worker.js @@ -1 +1 @@ -import "pdfjs-dist/build/pdf.worker.js"; +import "pdfjs-dist/build/pdf.worker.mjs";