diff --git a/.github/diy/patches/homeproxy.patch b/.github/diy/patches/homeproxy.patch new file mode 100644 index 000000000..9fd5dd9e6 --- /dev/null +++ b/.github/diy/patches/homeproxy.patch @@ -0,0 +1,29 @@ +--- a/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc ++++ b/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc +@@ -996,7 +996,7 @@ if (!isEmpty(main_node)) { + type: 'remote', + tag: 'geoip-cn', + format: 'binary', +- url: 'https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs', ++ url: 'https://ghproxy.net/https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs', + update_interval: '24h', + download_detour: 'main-out' + }); +@@ -1004,7 +1004,7 @@ if (!isEmpty(main_node)) { + type: 'remote', + tag: 'geosite-cn', + format: 'binary', +- url: 'https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-cn.srs', ++ url: 'https://ghproxy.net/https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-cn.srs', + update_interval: '24h', + download_detour: 'main-out' + }); +@@ -1012,7 +1012,7 @@ if (!isEmpty(main_node)) { + type: 'remote', + tag: 'geosite-noncn', + format: 'binary', +- url: 'https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs', ++ url: 'https://ghproxy.net/https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs', + update_interval: '24h', + download_detour: 'main-out' + });