mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-16 05:14:21 +08:00
Create homeproxy.patch
This commit is contained in:
@@ -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'
|
||||
});
|
||||
Reference in New Issue
Block a user