chromium
This commit is contained in:
@@ -14,6 +14,7 @@ export class KeyHandoverPdfService {
|
||||
async generatePdf(dto: KeyHandoverDto): Promise<Buffer> {
|
||||
const browser = await puppeteer.launch({
|
||||
headless: true,
|
||||
executablePath: '/usr/bin/chromium',
|
||||
args: ['--no-sandbox', '--disable-setuid-sandbox'],
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user