File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ async function makePDF(docPath, pdfPath) {
509
509
window . PagedConfig = window . PagedConfig || { } ;
510
510
window . PagedConfig . auto = false ;
511
511
} ) ;
512
- await page . addScriptTag ( { url : 'https://unpkg.com/ pagedjs/dist/paged.polyfill.js' } ) ;
512
+ await page . addScriptTag ( { url : 'https://cdn.jsdelivr.net/npm/ pagedjs@0.4.3 /dist/paged.polyfill.js' } ) ;
513
513
514
514
let renderingDone ;
515
515
let rendered = new Promise ( function ( resolve , reject ) {
Original file line number Diff line number Diff line change @@ -1370,7 +1370,7 @@ async function render() {
1370
1370
/* debug print version */
1371
1371
if ( docMetadata . media === "print" ) {
1372
1372
let pagedJS = document . createElement ( "script" ) ;
1373
- pagedJS . setAttribute ( "src" , "https://unpkg.com/ pagedjs/dist/paged.polyfill.js" ) ;
1373
+ pagedJS . setAttribute ( "src" , "https://cdn.jsdelivr.net/npm/ pagedjs@0.4.3 /dist/paged.polyfill.js" ) ;
1374
1374
pagedJS . id = "paged-js-script" ;
1375
1375
document . head . appendChild ( pagedJS ) ;
1376
1376
}
You can’t perform that action at this time.
0 commit comments