Create homeproxy.patch

This commit is contained in:
kiddin9
2026-09-15 18:20:59 +08:00
committed by GitHub
parent c224e11cc7
commit d03b99505a
+29
View File
@@ -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'
});