Skip to content

Commit

Permalink
feat(preview): Disable eval support for documents by default (#1518)
Browse files Browse the repository at this point in the history
* feat: Disable eval support for documents by default

* feat: Remove config option
  • Loading branch information
patlm authored May 20, 2024
1 parent b656594 commit 2005b3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/viewers/doc/DocBaseViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,7 @@ class DocBaseViewer extends BaseViewer {
disableFontFace,
disableRange,
disableStream,
isEvalSupported: false,
rangeChunkSize,
url: appendQueryParams(pdfUrl, queryParams),
});
Expand Down

0 comments on commit 2005b3e

Please sign in to comment.