From f5a005774df34734374af008e25f5d01395efde4 Mon Sep 17 00:00:00 2001 From: NobyDa <53217160+NobyDa@users.noreply.github.com> Date: Sat, 11 Feb 2023 23:50:49 +0800 Subject: [PATCH] Fixed #438 --- Surge/JS/Bili_Auto_Regions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Surge/JS/Bili_Auto_Regions.js b/Surge/JS/Bili_Auto_Regions.js index d20497e..8f16333 100644 --- a/Surge/JS/Bili_Auto_Regions.js +++ b/Surge/JS/Bili_Auto_Regions.js @@ -5,7 +5,7 @@ 如需禁用豆瓣评分或策略通知, 可前往BoxJs设置. BoxJs订阅地址: https://raw.githubusercontent.com/NobyDa/Script/master/NobyDa_BoxJs.json -Update: 2023.02.10 +Update: 2023.02.11 Author: @NobyDa Use: Surge, QuanX, Loon @@ -97,7 +97,7 @@ async function SwitchRegion(title, url, body) { } else if (current != CN) { select = { policy: CN, mode: '直连' }; } - if ($.isQuanX && current === 'direct' && select === 'DIRECT') { + if ($.isQuanX && current === 'direct' && select.policy === 'DIRECT') { select = {}; //prevent loopback in some cases } return select;