Skip to content

Commit

Permalink
Merge pull request #103 from LibreSign/fix/use-legacy
Browse files Browse the repository at this point in the history
fix: use legacy
  • Loading branch information
vitormattos authored Oct 28, 2024
2 parents cc50d03 + bf1cb83 commit 9069c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/asyncReader.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getDocument, GlobalWorkerOptions } from 'pdfjs-dist'
import pdfWorkerCode from 'pdfjs-dist/build/pdf.worker.min.mjs'
import pdfWorkerCode from 'pdfjs-dist/legacy/build/pdf.worker.min.mjs'
GlobalWorkerOptions.workerSrc = pdfWorkerCode

/**
Expand Down

0 comments on commit 9069c9d

Please sign in to comment.