File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 23
23
- application : {{ xpFrontendApp }}
24
24
external :
25
25
- host : {{ xpHost }}
26
+ - host : cdn.nav.no
26
27
envFrom :
27
28
- secret : {{ secret }}
28
29
replicas :
Original file line number Diff line number Diff line change @@ -132,13 +132,12 @@ export class PdfService {
132
132
133
133
await page . setViewport ( { width : widthActual , height : 1024 , deviceScaleFactor : 1 } ) ;
134
134
await page . emulateMediaType ( 'screen' ) ;
135
- await page . setContent ( html , { waitUntil : [ 'load' , 'networkidle0' ] } ) ;
135
+ await page . setContent ( html ) ;
136
136
137
137
const pdf = await page . pdf ( {
138
138
printBackground : true ,
139
139
format : 'A4' ,
140
140
scale : pixelWidthToA4Scale ( widthActual ) ,
141
- displayHeaderFooter : true ,
142
141
footerTemplate : generatePdfFooter ( content ) ,
143
142
margin : {
144
143
top : '4px' ,
You can’t perform that action at this time.
0 commit comments