diff --git a/config_yml.yaml b/config_yml.yaml index e955c06..7af433e 100644 --- a/config_yml.yaml +++ b/config_yml.yaml @@ -1,4 +1,4 @@ -yaml_content = """# =============================== 基础设置 =============================== +# =============================== 基础设置 =============================== port: 7890 socks-port: 7891 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" } 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" } - 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.") \ No newline at end of file + google_domain: { <<: *domain, path: ./ruleset/google.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/google.mrs" } \ No newline at end of file