Skip to content

Commit

Permalink
Disable eval support
Browse files Browse the repository at this point in the history
  • Loading branch information
septatrix committed May 7, 2024
1 parent 1c21223 commit c2c3ec4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Grater.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ async function loadPdf(e: Event) {
const pdf = await getDocument({
data,
worker: PDFWorker.fromPort({ port: new pdfjsWorker() }),
isEvalSupported: false,
}).promise;
let loadPromises = [];
Expand Down

0 comments on commit c2c3ec4

Please sign in to comment.