From 66cb949b98fa9316fa5e69772f07e0592dd5be1b Mon Sep 17 00:00:00 2001 From: PaPerseller Date: Sat, 20 Apr 2024 12:59:58 +0800 Subject: [PATCH] update rule-set urls --- sing-box/fakeip+clashapi/config-tungate.json | 12 +++++----- sing-box/sing-box_tungate.json | 24 +++++++------------- 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/sing-box/fakeip+clashapi/config-tungate.json b/sing-box/fakeip+clashapi/config-tungate.json index f5ba9894..10388267 100644 --- a/sing-box/fakeip+clashapi/config-tungate.json +++ b/sing-box/fakeip+clashapi/config-tungate.json @@ -442,7 +442,7 @@ "tag": "category-httpdns", "type": "remote", "format": "binary", - "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo/geosite/category-httpdns.srs", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/category-httpdns.srs", "download_detour": "Proxy", "update_interval": "30d" }, @@ -450,7 +450,7 @@ "tag": "geosite-telegram", "type": "remote", "format": "binary", - "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo-lite/geosite/telegram.srs", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/telegram.srs", "download_detour": "Proxy", "update_interval": "30d" },{ @@ -465,7 +465,7 @@ "tag": "geosite-biliintl", "type": "remote", "format": "binary", - "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo/geosite/biliintl.srs", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/biliintl.srs", "download_detour": "Proxy", "update_interval": "30d" }, @@ -481,7 +481,7 @@ "tag": "geosite-category-public-tracker", "type": "remote", "format": "binary", - "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo/geosite/category-public-tracker.srs", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/category-public-tracker.srs", "download_detour": "Proxy", "update_interval": "5d" }, @@ -497,7 +497,7 @@ "tag": "geosite-private", "type": "remote", "format": "binary", - "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo-lite/geosite/private.srs", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/private.srs", "download_detour": "Proxy", "update_interval": "30d" }, @@ -505,7 +505,7 @@ "tag": "geoip-telegram", "type": "remote", "format": "binary", - "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo-lite/geoip/telegram.srs", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geoip/telegram.srs", "download_detour": "Proxy", "update_interval": "30d" }, diff --git a/sing-box/sing-box_tungate.json b/sing-box/sing-box_tungate.json index 693de64e..3cfddf9d 100644 --- a/sing-box/sing-box_tungate.json +++ b/sing-box/sing-box_tungate.json @@ -189,8 +189,7 @@ "geosite-category-public-tracker", "geosite-cn", "geosite-private", - "geoip-cn", - "geoip-private" + "geoip-cn" ], "outbound": "direct" } @@ -208,7 +207,7 @@ "tag": "category-httpdns", "type": "remote", "format": "binary", - "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo/geosite/category-httpdns.srs", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/category-httpdns.srs", "download_detour": "proxy", "update_interval": "30d" }, @@ -216,7 +215,7 @@ "tag": "geosite-telegram", "type": "remote", "format": "binary", - "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo-lite/geosite/telegram.srs", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/telegram.srs", "download_detour": "proxy", "update_interval": "30d" }, @@ -224,7 +223,7 @@ "tag": "geoip-telegram", "type": "remote", "format": "binary", - "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo-lite/geoip/telegram.srs", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geoip/telegram.srs", "download_detour": "proxy", "update_interval": "30d" }, @@ -248,7 +247,7 @@ "tag": "geosite-category-public-tracker", "type": "remote", "format": "binary", - "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo/geosite/category-public-tracker.srs", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/category-public-tracker.srs", "download_detour": "proxy", "update_interval": "10d" }, @@ -272,15 +271,7 @@ "tag": "geosite-private", "type": "remote", "format": "binary", - "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo-lite/geosite/private.srs", - "download_detour": "proxy", - "update_interval": "30d" - }, - { - "tag": "geoip-private", - "type": "remote", - "format": "binary", - "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo-lite/geoip/private.srs", + "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geosite/private.srs", "download_detour": "proxy", "update_interval": "30d" } @@ -290,7 +281,8 @@ }, "experimental": { "cache_file": { - "enabled": true + "enabled": true, + "path": "/usr/local/share/sing-box/cache.db" } } } \ No newline at end of file