mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-23 16:38:34 +08:00
feat: 优化GO2SOCKS5处理方式
This commit is contained in:
@@ -6803,8 +6803,8 @@ function config_Html(token = "test", proxyhost = "") {
|
|||||||
items.push({ label: 'CloudflareCDN访问模式', value: '自动获取' });
|
items.push({ label: 'CloudflareCDN访问模式', value: '自动获取' });
|
||||||
} else {
|
} else {
|
||||||
const cf2cdn = proxy.CFCDN.toLowerCase();
|
const cf2cdn = proxy.CFCDN.toLowerCase();
|
||||||
const go2socks5 = proxy.GO2SOCKS5.join('').toLowerCase();
|
const go2socks5Array = proxy.GO2SOCKS5.map(item => item.toLowerCase());
|
||||||
const isGlobal = go2socks5.includes('all in') || go2socks5.includes('*') || go2socks5 === 'all in';
|
const isGlobal = go2socks5Array.includes('all in') || go2socks5Array.includes('*');
|
||||||
|
|
||||||
if (cf2cdn === 'proxyip') {
|
if (cf2cdn === 'proxyip') {
|
||||||
items.push({ label: 'CloudflareCDN访问模式', value: 'ProxyIP' });
|
items.push({ label: 'CloudflareCDN访问模式', value: 'ProxyIP' });
|
||||||
|
|||||||
Reference in New Issue
Block a user