We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff2833f commit 781dd30Copy full SHA for 781dd30
api/_lib/puppeteer.ts
@@ -5,7 +5,16 @@ let _page: Page | null;
5
async function getPage() {
6
if (_page) return _page;
7
const options = {
8
- args: chromium.args,
+ args: [
9
+ '--disable-web-security',
10
+ '--disable-setuid-sandbox',
11
+ '--no-sandbox',
12
+ '--disable-dev-shm-usage',
13
+ '--disable-accelerated-2d-canvas',
14
+ '--no-first-run',
15
+ '--no-zygote',
16
+ '--disable-gpu'
17
+ ],
18
defaultViewport: null,
19
executablePath: await chromium.executablePath(),
20
headless: chromium.headless,
0 commit comments