refactor(config): change default eg_mode from 'legacy' to 'new'
All checks were successful
build-and-push / lint (push) Successful in 7s
build-and-push / sonar (push) Successful in 20s
build-and-push / docker (push) Successful in 11s

This commit is contained in:
nocci 2026-03-08 11:07:39 +00:00
parent 99f5432e32
commit 726b9bcbd8

View file

@ -15,7 +15,7 @@ export const cfg = {
get headless() {
return !this.debug && !this.show;
},
eg_mode: process.env.EG_MODE || 'legacy', // epic-games: legacy playwright flow or 'new' API-driven flow
eg_mode: process.env.EG_MODE || 'new', // epic-games: legacy playwright flow or 'new' API-driven flow
width: Number(process.env.WIDTH) || 1920, // width of the opened browser
height: Number(process.env.HEIGHT) || 1080, // height of the opened browser
timeout: (Number(process.env.TIMEOUT) || 60) * 1000, // default timeout for playwright is 30s