From 8141035bb682d5195531c7f9366239190efc7524 Mon Sep 17 00:00:00 2001 From: gitea-action Date: Sun, 23 Mar 2025 18:00:22 +0800 Subject: [PATCH] luci-app-homeproxy: sync upstream last commit: https://github.com/immortalwrt/homeproxy/commit/b5a9adb983a0e9cabb3ee029264f6600ce32edcb --- .../root/etc/homeproxy/scripts/generate_client.uc | 6 +++--- .../root/etc/homeproxy/scripts/update_subscriptions.uc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc b/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc index 78d9594a6..65273c5be 100755 --- a/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc +++ b/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc @@ -792,21 +792,21 @@ if (!isEmpty(main_node)) { type: 'remote', tag: 'geoip-cn', 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' }); push(config.route.rule_set, { type: 'remote', tag: 'geosite-cn', 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' }); push(config.route.rule_set, { type: 'remote', tag: 'geosite-noncn', 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' }); } diff --git a/luci-app-homeproxy/root/etc/homeproxy/scripts/update_subscriptions.uc b/luci-app-homeproxy/root/etc/homeproxy/scripts/update_subscriptions.uc index 852bfa1cf..e857c077a 100755 --- a/luci-app-homeproxy/root/etc/homeproxy/scripts/update_subscriptions.uc +++ b/luci-app-homeproxy/root/etc/homeproxy/scripts/update_subscriptions.uc @@ -418,7 +418,7 @@ function parse_uri(uri) { case 'tcp': if (uri.net === 'h2' || uri.type === '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; } break;