Skip to content

Commit

Permalink
ELEMENTS-1759: Remove usage of unsafe-eval from CSP
Browse files Browse the repository at this point in the history
  • Loading branch information
alokhyland committed Oct 8, 2024
1 parent ab5321c commit be37629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/viewers/pdfjs/web/viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@

<!-- This snippet is used in production (included from viewer.html) -->
<link rel="resource" type="application/l10n" href="locale/locale.json">
<script src="../build/pdf.mjs" type="module"></script>
<script src="../build/pdf.mjs" type="module" nonce="dummy"></script>

<link rel="stylesheet" href="viewer.css">

<script src="viewer.mjs" type="module"></script>
<script src="viewer.mjs" type="module" nonce="dummy"></script>
</head>

<body tabindex="1">
Expand Down

0 comments on commit be37629

Please sign in to comment.