aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-07-03 13:55:01 -0400
committerbobzel <zzzman@gmail.com>2022-07-03 13:55:01 -0400
commit16703dd7b46a7c0f7ded58cc482e9fda10b64f35 (patch)
treec9693c9cca3d0c192528be12f58cf47374902293 /src
parenta170b1ac4083cd322cc0d4b1e08087cb45867e55 (diff)
fixed worker version for pdf to match npm version #
Diffstat (limited to 'src')
-rw-r--r--src/client/views/pdf/PDFViewer.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx
index 2869d4f2d..510c5c385 100644
--- a/src/client/views/pdf/PDFViewer.tsx
+++ b/src/client/views/pdf/PDFViewer.tsx
@@ -30,7 +30,7 @@ const _global = (window /* browser */ || global /* node */) as any;
//pdfjsLib.GlobalWorkerOptions.workerSrc = `/assets/pdf.worker.js`;
// The workerSrc property shall be specified.
-pdfjsLib.GlobalWorkerOptions.workerSrc = "https://unpkg.com/pdfjs-dist@2.13.216/build/pdf.worker.js";
+pdfjsLib.GlobalWorkerOptions.workerSrc = "https://unpkg.com/pdfjs-dist@2.14.305/build/pdf.worker.js";
interface IViewerProps extends FieldViewProps {
Document: Doc;