Skip to content

Commit

Permalink
fix: use latest mjs from CF
Browse files Browse the repository at this point in the history
  • Loading branch information
dantio committed Jun 30, 2022
1 parent 5206594 commit 83d844c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
if (location.hostname === 'localhost') {
module = await import('./dist/html2pdfmake.mjs')
} else {
module = await import('https://cdn.jsdelivr.net/npm/html2pdfmake/dist/html2pdfmake.mjs')
module = await import('https://cdn.jsdelivr.net/npm/html2pdfmake@latest/dist/html2pdfmake.mjs')
}

const {parse, simpleRender} = module;
Expand Down

0 comments on commit 83d844c

Please sign in to comment.