优化几个地区
This commit is contained in:
+2
-7
@@ -1,4 +1,4 @@
|
|||||||
yaml_content = """# =============================== 基础设置 ===============================
|
# =============================== 基础设置 ===============================
|
||||||
port: 7890
|
port: 7890
|
||||||
socks-port: 7891
|
socks-port: 7891
|
||||||
mixed-port: 7893
|
mixed-port: 7893
|
||||||
@@ -261,9 +261,4 @@ rule-providers:
|
|||||||
telegram_ip: { <<: *ip, path: ./ruleset/tg_ip.mrs, url: "https://github.com/DustinWin/ruleset_geodata/raw/refs/heads/mihomo-ruleset/telegramip.mrs" }
|
telegram_ip: { <<: *ip, path: ./ruleset/tg_ip.mrs, url: "https://github.com/DustinWin/ruleset_geodata/raw/refs/heads/mihomo-ruleset/telegramip.mrs" }
|
||||||
proxy: { <<: *domain, path: ./ruleset/proxy.mrs, url: "https://github.com/DustinWin/ruleset_geodata/releases/download/mihomo-ruleset/proxy.mrs" }
|
proxy: { <<: *domain, path: ./ruleset/proxy.mrs, url: "https://github.com/DustinWin/ruleset_geodata/releases/download/mihomo-ruleset/proxy.mrs" }
|
||||||
geoip_cloudflare: { <<: *ip, path: ./ruleset/cf_ip.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geoip/cloudflare.mrs" }
|
geoip_cloudflare: { <<: *ip, path: ./ruleset/cf_ip.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/raw/refs/heads/meta/geo/geoip/cloudflare.mrs" }
|
||||||
google_domain: { <<: *domain, path: ./ruleset/google.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/google.mrs" }
|
google_domain: { <<: *domain, path: ./ruleset/google.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/google.mrs" }
|
||||||
"""
|
|
||||||
|
|
||||||
with open('/mnt/data/optimized_config.yaml', 'w', encoding='utf-8') as f:
|
|
||||||
f.write(yaml_content)
|
|
||||||
print("File generated successfully.")
|
|
||||||
Reference in New Issue
Block a user