titel vom pdf
This commit is contained in:
@@ -88,7 +88,7 @@ export class KeyController {
|
|||||||
const pdfBuffer = await this.service.fetchPdf(dto);
|
const pdfBuffer = await this.service.fetchPdf(dto);
|
||||||
|
|
||||||
res.setHeader('Content-Type', 'application/pdf');
|
res.setHeader('Content-Type', 'application/pdf');
|
||||||
res.setHeader('Content-Disposition', 'inline; filename="test.pdf"');
|
res.setHeader('Content-Disposition', 'inline; filename="uebergabe.pdf"');
|
||||||
res.send(pdfBuffer);
|
res.send(pdfBuffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user