1 parent cadf676 commit e768e7bCopy full SHA for e768e7b
1 file changed
_worker.js
@@ -6803,8 +6803,8 @@ function config_Html(token = "test", proxyhost = "") {
6803
items.push({ label: 'CloudflareCDN访问模式', value: '自动获取' });
6804
} else {
6805
const cf2cdn = proxy.CFCDN.toLowerCase();
6806
- const go2socks5 = proxy.GO2SOCKS5.join('').toLowerCase();
6807
- const isGlobal = go2socks5.includes('all in') || go2socks5.includes('*') || go2socks5 === 'all in';
+ const go2socks5Array = proxy.GO2SOCKS5.map(item => item.toLowerCase());
+ const isGlobal = go2socks5Array.includes('all in') || go2socks5Array.includes('*');
6808
6809
if (cf2cdn === 'proxyip') {
6810
items.push({ label: 'CloudflareCDN访问模式', value: 'ProxyIP' });
0 commit comments