We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a87a1a0 commit a8b9a03Copy full SHA for a8b9a03
xp-archive/server/src/routing/site.ts
@@ -30,7 +30,7 @@ export const setupSite = async (router: Router) => {
30
const setupApiRoutes = async (router: Router) => {
31
// const browser = await puppeteer.launch({
32
33
- // args: ['--no-sandbox', '--disable-setuid-sandbox', '--user-data-dir=/tmp/.chromium'],
+ // args: [],
34
// });
35
36
const browser = await puppeteer.launch({
@@ -41,6 +41,10 @@ const setupApiRoutes = async (router: Router) => {
41
'--allow-running-insecure-content',
42
// Increase memory allocation if needed
43
'--disable-dev-shm-usage',
44
+ // Old args
45
+ '--no-sandbox',
46
+ '--disable-setuid-sandbox',
47
+ '--user-data-dir=/tmp/.chromium',
48
],
49
});
50
0 commit comments