From d55706c5f36c94e16b1ac6f5f3e3d4218997241b Mon Sep 17 00:00:00 2001 From: nocci Date: Sun, 8 Mar 2026 11:11:38 +0000 Subject: [PATCH] refactor(config): revert default eg_mode back to 'legacy' 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. --- src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index 9979e05..7702984 100644 --- a/src/config.js +++ b/src/config.js @@ -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