parent
0af9b81b38
commit
b82a32ae3e
|
@ -181,8 +181,7 @@ export class PdfCreator {
|
|||
const template = Handlebars.compile(template_source);
|
||||
let result = template({ runners, eventname: config.eventname });
|
||||
result = await awaitAsyncHandlebarHelpers(result);
|
||||
const pdf = await this.renderPdf(result, { format: "A5", landscape: true });
|
||||
fs.writeFileSync("lelelelele.tmp", pdf);
|
||||
const pdf = await this.renderPdf(result, { format: "A4", landscape: false, printBackground: true });
|
||||
return pdf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue