Skip to content

Commit

Permalink
Update Index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-Makhrov authored Oct 9, 2023
1 parent 750e505 commit 1d2f312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/Index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>
<body style="background-color:#F8F9FA;">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<script src="//mozilla.github.io/pdf.js/build/pdf.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.min.js"></script>
<div>
<p id="imageurl"></p>
</div>
Expand All @@ -15,7 +15,7 @@
var pdfjsLib = window['pdfjs-dist/build/pdf'];

// The workerSrc property shall be specified.
pdfjsLib.GlobalWorkerOptions.workerSrc = '//mozilla.github.io/pdf.js/build/pdf.worker.js';
pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js';

var pdfDoc = null,
pageNum = 1,
Expand Down

0 comments on commit 1d2f312

Please sign in to comment.