diff --git a/public/assets/resume/Mamadaev_Nik__CV__Product_Designer_UX-UI.pdf b/public/assets/resume/Mamadaev_Nik__CV__Product_Designer_UX-UI.pdf index 52c4fe2..69da900 100644 Binary files a/public/assets/resume/Mamadaev_Nik__CV__Product_Designer_UX-UI.pdf and b/public/assets/resume/Mamadaev_Nik__CV__Product_Designer_UX-UI.pdf differ diff --git a/scripts/generate-resume-pdf.mjs b/scripts/generate-resume-pdf.mjs index 50c49b3..21e57d0 100644 --- a/scripts/generate-resume-pdf.mjs +++ b/scripts/generate-resume-pdf.mjs @@ -7,7 +7,10 @@ const OUT = resolve(__dirname, '../public/assets/resume/Mamadaev_Nik__CV__Produc const PAGE = process.argv[2] || 'http://localhost:4175/resume/'; const FONT = process.argv[3] || 'geologica'; -const browser = await puppeteer.launch({ headless: true }); +const browser = await puppeteer.launch({ + headless: true, + args: ['--no-sandbox', '--disable-setuid-sandbox'], +}); const page = await browser.newPage(); await page.goto(PAGE, { waitUntil: 'networkidle0', timeout: 30000 });