This commit is contained in:
NobyDa 2023-02-11 23:50:49 +08:00
parent fdb3a405b2
commit f5a005774d
No known key found for this signature in database
GPG Key ID: E6B0AC788D373C5B
1 changed files with 2 additions and 2 deletions

View File

@ -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;