diff options
author | bobzel <zzzman@gmail.com> | 2024-01-22 19:33:24 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-01-22 19:33:24 -0500 |
commit | eae271b661465c915ea3a27ff25406409c4b377f (patch) | |
tree | 7049d8ca6aefcb2e9d5b096dca6b9483014784de /src | |
parent | 73e13094c0a1b1fb391f2e44abeaffd01ff59c74 (diff) |
fixed pdf 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 4a7e35c16..1eee28ef3 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.269/build/pdf.worker.mjs'; +Pdfjs.GlobalWorkerOptions.workerSrc = 'https://unpkg.com/pdfjs-dist@4.0.379/build/pdf.worker.mjs'; interface IViewerProps extends FieldViewProps { Document: Doc; |