From 2064021af9eabbc1ae5da599cb38f354593be415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=AB=E9=81=97=E5=BF=98=E7=9A=84=E8=AE=B0=E5=BF=86?= <32097237+YIWANG-sketch@users.noreply.github.com> Date: Sun, 25 Aug 2024 23:48:32 +0800 Subject: [PATCH] manual login compatible with old cookie acquisition --- provider.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider.mjs b/provider.mjs index 03164d8..63d2595 100644 --- a/provider.mjs +++ b/provider.mjs @@ -18,7 +18,7 @@ class YouProvider { this.config = config; this.sessions = {}; // 可以是 'chrome', 'edge', 或 'auto' - this.preferredBrowser = 'edge'; + this.preferredBrowser = 'auto'; this.isCustomModeEnabled = process.env.USE_CUSTOM_MODE === "true"; this.isRotationEnabled = process.env.ENABLE_MODE_ROTATION === "true"; this.currentMode = "default";