kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
Update openai-auth.ts
add --disable-setuid-sandbox so puppeteer works with the heroku buildpack for puppeteer on herokuchatgpt-api-old-v3
rodzic
7f0597d710
commit
4fbb77b71f
|
@ -228,6 +228,7 @@ export async function getBrowser(
|
||||||
|
|
||||||
const puppeteerArgs = [
|
const puppeteerArgs = [
|
||||||
'--no-sandbox',
|
'--no-sandbox',
|
||||||
|
'--disable-setuid-sandbox',
|
||||||
'--disable-infobars',
|
'--disable-infobars',
|
||||||
'--disable-dev-shm-usage',
|
'--disable-dev-shm-usage',
|
||||||
'--disable-blink-features=AutomationControlled',
|
'--disable-blink-features=AutomationControlled',
|
||||||
|
|
Ładowanie…
Reference in New Issue