Skip to content

Commit 1a38d9c

Browse files
committed
fix: Fix URL to download pdfjs
Signed-off-by: Vincent Boutour <bob@vibioh.fr>
1 parent d600cdc commit 1a38d9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/fibr/static/scripts/pdf.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as pdfjs from "https://cdn.jsdelivr.net/npm/pdfjs-dist@6.1.200/+esm";
1+
import * as pdfjs from "https://cdn.jsdelivr.net/npm/pdfjs-dist@6.1.200/build/pdf.min.mjs";
22

33
pdfjs.GlobalWorkerOptions.workerSrc = new URL(
44
"https://cdn.jsdelivr.net/npm/pdfjs-dist@6.1.200/build/pdf.worker.min.mjs",

0 commit comments

Comments
 (0)