Skip to content

Commit

Permalink
fix : pdf error
Browse files Browse the repository at this point in the history
  • Loading branch information
lopahn2 committed Oct 26, 2023
1 parent a935d6c commit 488f68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/funcs.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const encodeImageToBase64 = (imagePath) => {
export const contractPdfController = async (html, fileName, email) => {
// Create a browser instance
const browser = await puppeteer.launch({
headless: isHeadless,
headless: true,
protocolTimeout: 60000, // 이건 다른 에러때문에 넣어놓은 옵션
args: ["--no-sandbox", "--disable-setuid-sandbox"],
});
Expand Down

0 comments on commit 488f68b

Please sign in to comment.