mirror of
https://github.com/TG-Twilight/AWAvenue-Ads-Rule.git
synced 2025-11-04 14:49:47 +08:00
将本机地址127.0.0.1替换为0.0.0.0
This commit is contained in:
parent
81ae10fdfe
commit
6a85fec923
@ -2,7 +2,7 @@
|
||||
def format_domain(List):
|
||||
domain = ["127.0.0.1 localhost", "::1 localhost", "", ""]
|
||||
for line in List:
|
||||
domain_lines = f"127.0.0.1 {line.strip()}"
|
||||
domain_lines = f"0.0.0.0 {line.strip()}"
|
||||
domain.append(domain_lines)
|
||||
return domain
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user