Skip to content

Commit

Permalink
Update generate_clash_config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxy27 authored Nov 8, 2024
1 parent eda042b commit 92d2202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_clash_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
continue # 跳过空行和注释
# 假设每行是一个IP或域名,没有前缀
# 检查是否是IP地址
rules.append(f"IP-CIDR,{line}")
rules.append(f"IP-CIDR,{line},no-resolve")
# 去重并排序规则(可选)
rules = sorted(set(rules))

Expand Down

0 comments on commit 92d2202

Please sign in to comment.