fix(chromium): add --no-zygote and --disable-dev-shm-usage flags - fixes #1177

This commit is contained in:
Julien Neuhart
2025-04-17 11:28:17 +02:00
parent a731bf034e
commit fabe323e34

View File

@@ -93,6 +93,9 @@ func (b *chromiumBrowser) Start(logger *zap.Logger) error {
chromedp.UserDataDir(b.userProfileDirPath),
// See https://github.com/gotenberg/gotenberg/issues/831.
chromedp.Flag("disable-pdf-tagging", true),
// See https://github.com/gotenberg/gotenberg/issues/1177.
chromedp.Flag("no-zygote", true),
chromedp.Flag("disable-dev-shm-usage", true),
)
if b.arguments.incognito {