Skip to content

Commit a8b9a03

Browse files
committed
Readd old args
1 parent a87a1a0 commit a8b9a03

File tree

1 file changed

+5
-1
lines changed
  • xp-archive/server/src/routing

1 file changed

+5
-1
lines changed

xp-archive/server/src/routing/site.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const setupSite = async (router: Router) => {
3030
const setupApiRoutes = async (router: Router) => {
3131
// const browser = await puppeteer.launch({
3232

33-
// args: ['--no-sandbox', '--disable-setuid-sandbox', '--user-data-dir=/tmp/.chromium'],
33+
// args: [],
3434
// });
3535

3636
const browser = await puppeteer.launch({
@@ -41,6 +41,10 @@ const setupApiRoutes = async (router: Router) => {
4141
'--allow-running-insecure-content',
4242
// Increase memory allocation if needed
4343
'--disable-dev-shm-usage',
44+
// Old args
45+
'--no-sandbox',
46+
'--disable-setuid-sandbox',
47+
'--user-data-dir=/tmp/.chromium',
4448
],
4549
});
4650

0 commit comments

Comments
 (0)