@@ -1800,7 +1800,7 @@ const renderHomePage = async (env, hostName, fragConfigs) => {
1800
1800
const cleanIPs = cleanIP.value?.split(',');
1801
1801
const chainProxy = document.getElementById('outProxy').value;
1802
1802
const formData = new FormData(configForm);
1803
- const isVless = /vless:\\/\\/[^\s@]+@[^\s:]+:[^\s]+/.test(chainProxy);
1803
+ const isVless = /vless:\\/\\/[^\s@]+@[^\\ s:]+:[^\ \s]+/.test(chainProxy);
1804
1804
const hasSecurity = /security=/.test(chainProxy);
1805
1805
const validSecurityType = /security=(tls|none|reality)/.test(chainProxy);
1806
1806
const validTransmission = /type=(tcp|grpc|ws)/.test(chainProxy);
@@ -2430,49 +2430,57 @@ const singboxConfigTemp = {
2430
2430
type : "remote" ,
2431
2431
tag : "geosite-ir" ,
2432
2432
format : "binary" ,
2433
- url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-ir.srs"
2433
+ url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-ir.srs" ,
2434
+ download_detour : "direct"
2434
2435
} ,
2435
2436
{
2436
2437
type : "remote" ,
2437
2438
tag : "geosite-category-ads-all" ,
2438
2439
format : "binary" ,
2439
- url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-category-ads-all.srs"
2440
+ url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-category-ads-all.srs" ,
2441
+ download_detour : "direct"
2440
2442
} ,
2441
2443
{
2442
2444
type : "remote" ,
2443
2445
tag : "geosite-malware" ,
2444
2446
format : "binary" ,
2445
- url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-malware.srs"
2447
+ url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-malware.srs" ,
2448
+ download_detour : "direct"
2446
2449
} ,
2447
2450
{
2448
2451
type : "remote" ,
2449
2452
tag : "geosite-phishing" ,
2450
2453
format : "binary" ,
2451
- url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-phishing.srs"
2454
+ url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-phishing.srs" ,
2455
+ download_detour : "direct"
2452
2456
} ,
2453
2457
{
2454
2458
type : "remote" ,
2455
2459
tag : "geosite-cryptominers" ,
2456
2460
format : "binary" ,
2457
- url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-cryptominers.srs"
2461
+ url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geosite-cryptominers.srs" ,
2462
+ download_detour : "direct"
2458
2463
} ,
2459
2464
{
2460
2465
type : "remote" ,
2461
2466
tag : "geoip-ir" ,
2462
2467
format : "binary" ,
2463
- url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geoip-ir.srs"
2468
+ url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geoip-ir.srs" ,
2469
+ download_detour : "direct"
2464
2470
} ,
2465
2471
{
2466
2472
type : "remote" ,
2467
2473
tag : "geoip-malware" ,
2468
2474
format : "binary" ,
2469
- url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geoip-malware.srs"
2475
+ url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geoip-malware.srs" ,
2476
+ download_detour : "direct"
2470
2477
} ,
2471
2478
{
2472
2479
type : "remote" ,
2473
2480
tag : "geoip-phishing" ,
2474
2481
format : "binary" ,
2475
- url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geoip-phishing.srs"
2482
+ url : "https://raw.githubusercontent.com/Chocolate4U/Iran-sing-box-rules/rule-set/geoip-phishing.srs" ,
2483
+ download_detour : "direct"
2476
2484
}
2477
2485
] ,
2478
2486
auto_detect_interface : true ,
0 commit comments