From 4fbb77b71f2562ee8df5292f5ccac28cd150c170 Mon Sep 17 00:00:00 2001 From: Gus V <82774618+GooseterV@users.noreply.github.com> Date: Sat, 17 Dec 2022 12:28:00 -0500 Subject: [PATCH] Update openai-auth.ts add --disable-setuid-sandbox so puppeteer works with the heroku buildpack for puppeteer on heroku --- legacy/src/openai-auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/legacy/src/openai-auth.ts b/legacy/src/openai-auth.ts index 61b1a183..185c6582 100644 --- a/legacy/src/openai-auth.ts +++ b/legacy/src/openai-auth.ts @@ -228,6 +228,7 @@ export async function getBrowser( const puppeteerArgs = [ '--no-sandbox', + '--disable-setuid-sandbox', '--disable-infobars', '--disable-dev-shm-usage', '--disable-blink-features=AutomationControlled',