mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-13 12:37:53 +08:00
30 lines
1.3 KiB
Diff
30 lines
1.3 KiB
Diff
--- a/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc
|
|
+++ b/luci-app-homeproxy/root/etc/homeproxy/scripts/generate_client.uc
|
|
@@ -1223,7 +1223,7 @@ if (!isEmpty(main_node)) {
|
|
tag: 'geoip-cn',
|
|
format: 'binary',
|
|
url: 'https://fastly.jsdelivr.net/gh/1715173329/IPCIDR-CHINA@rule-set/cn.srs',
|
|
- path: ruleset_default_path('geoip-cn', 'binary'),
|
|
+ initial_path: ruleset_default_path('geoip-cn', 'binary'),
|
|
download_detour: 'main-out'
|
|
});
|
|
push(config.route.rule_set, {
|
|
@@ -1231,7 +1231,7 @@ if (!isEmpty(main_node)) {
|
|
tag: 'geosite-cn',
|
|
format: 'binary',
|
|
url: 'https://fastly.jsdelivr.net/gh/1715173329/sing-geosite@rule-set-unstable/geosite-geolocation-cn.srs',
|
|
- path: ruleset_default_path('geosite-cn', 'binary'),
|
|
+ initial_path: ruleset_default_path('geosite-cn', 'binary'),
|
|
download_detour: 'main-out'
|
|
});
|
|
push(config.route.rule_set, {
|
|
@@ -1239,7 +1239,7 @@ if (!isEmpty(main_node)) {
|
|
tag: 'geosite-noncn',
|
|
format: 'binary',
|
|
url: 'https://fastly.jsdelivr.net/gh/1715173329/sing-geosite@rule-set-unstable/geosite-geolocation-!cn.srs',
|
|
- path: ruleset_default_path('geosite-noncn', 'binary'),
|
|
+ initial_path: ruleset_default_path('geosite-noncn', 'binary'),
|
|
download_detour: 'main-out'
|
|
});
|
|
}
|