luci-app-homeproxy: sync upstream

last commit: b5a9adb983
This commit is contained in:
gitea-action 2025-03-23 18:00:22 +08:00
parent 6032ccb861
commit 8141035bb6
2 changed files with 4 additions and 4 deletions

View File

@ -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'
}); });
} }

View File

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