parent
6032ccb861
commit
8141035bb6
@ -792,21 +792,21 @@ if (!isEmpty(main_node)) {
|
|||||||
type: 'remote',
|
type: 'remote',
|
||||||
tag: 'geoip-cn',
|
tag: 'geoip-cn',
|
||||||
format: 'binary',
|
format: 'binary',
|
||||||
url: 'https://github.com/1715173329/IPCIDR-CHINA/raw/rule-set/cn.srs',
|
url: 'https://fastly.jsdelivr.net/gh/1715173329/IPCIDR-CHINA@rule-set/cn.srs',
|
||||||
download_detour: 'main-out'
|
download_detour: 'main-out'
|
||||||
});
|
});
|
||||||
push(config.route.rule_set, {
|
push(config.route.rule_set, {
|
||||||
type: 'remote',
|
type: 'remote',
|
||||||
tag: 'geosite-cn',
|
tag: 'geosite-cn',
|
||||||
format: 'binary',
|
format: 'binary',
|
||||||
url: 'https://github.com/1715173329/sing-geosite/raw/rule-set-unstable/geosite-geolocation-cn.srs',
|
url: 'https://fastly.jsdelivr.net/gh/1715173329/sing-geosite@rule-set-unstable/geosite-geolocation-cn.srs',
|
||||||
download_detour: 'main-out'
|
download_detour: 'main-out'
|
||||||
});
|
});
|
||||||
push(config.route.rule_set, {
|
push(config.route.rule_set, {
|
||||||
type: 'remote',
|
type: 'remote',
|
||||||
tag: 'geosite-noncn',
|
tag: 'geosite-noncn',
|
||||||
format: 'binary',
|
format: 'binary',
|
||||||
url: 'https://github.com/1715173329/sing-geosite/raw/rule-set-unstable/geosite-geolocation-!cn.srs',
|
url: 'https://fastly.jsdelivr.net/gh/1715173329/sing-geosite@rule-set-unstable/geosite-geolocation-!cn.srs',
|
||||||
download_detour: 'main-out'
|
download_detour: 'main-out'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -418,7 +418,7 @@ function parse_uri(uri) {
|
|||||||
case 'tcp':
|
case 'tcp':
|
||||||
if (uri.net === 'h2' || uri.type === 'http') {
|
if (uri.net === 'h2' || uri.type === 'http') {
|
||||||
config.transport = 'http';
|
config.transport = 'http';
|
||||||
config.http_host = uri.host ? uri.host.split(',') : null;
|
config.http_host = uri.host ? split(uri.host, ',') : null;
|
||||||
config.http_path = uri.path;
|
config.http_path = uri.path;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user