diff options
author | bobzel <zzzman@gmail.com> | 2024-04-15 09:17:32 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-04-15 09:17:32 -0400 |
commit | 8925cc306bd7ee9a044a3fb2bc19dbb09c495515 (patch) | |
tree | b7c38950835b49a48d1ac8e080bb45193156d3b7 /src | |
parent | 059218b567ce57d3afa771bd764cde6f5f55b459 (diff) |
updated packages and PDFviewer's worker version.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/pdf/PDFViewer.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx index a582f8004..aaff2a342 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. -Pdfjs.GlobalWorkerOptions.workerSrc = 'https://unpkg.com/pdfjs-dist@4.0.379/build/pdf.worker.mjs'; +Pdfjs.GlobalWorkerOptions.workerSrc = 'https://unpkg.com/pdfjs-dist@4.1.392/build/pdf.worker.mjs'; interface IViewerProps extends FieldViewProps { pdfBox: PDFBox; |