Skip to content

Commit

Permalink
Fix puppeteer usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Dorofeev committed Jun 13, 2024
1 parent 95db9aa commit 30ae4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/d0rich.me/server/utils/puppeteer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export async function fetchPageWithCss(path: string) {
}

export async function savePdf(path: string) {
const browser = await launch({ headless: 'new' })
const browser = await launch({ headless: true })
const page = await browser.newPage()
if (useRuntimeConfig().public.isDev) {
// If in development mode
Expand Down

0 comments on commit 30ae4af

Please sign in to comment.