refactor(config): revert default eg_mode back to 'legacy'
All checks were successful
build-and-push / lint (push) Successful in 11s
build-and-push / sonar (push) Successful in 20s
build-and-push / docker (push) Successful in 8s

The default value for `eg_mode` has been changed from 'new' back to 'legacy'. This reverts the previous commit (726b9bc) that changed the default, likely due to issues or instability with the new API-driven flow.
This commit is contained in:
nocci 2026-03-08 11:11:38 +00:00
parent 726b9bcbd8
commit d55706c5f3

View file

@ -15,7 +15,7 @@ export const cfg = {
get headless() {
return !this.debug && !this.show;
},
eg_mode: process.env.EG_MODE || 'new', // epic-games: legacy playwright flow or 'new' API-driven flow
eg_mode: process.env.EG_MODE || 'legacy', // 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