Files
op-packages/.github/diy/patches/homeproxy.patch
T
2026-09-15 18:26:42 +08:00

30 lines
1.2 KiB
Diff

--- 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://fastly.jsdelivr.net/gh/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://fastly.jsdelivr.net/gh/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://fastly.jsdelivr.net/gh/SagerNet/sing-geosite@rule-set/geosite-geolocation-!cn.srs',
update_interval: '24h',
download_detour: 'main-out'
});