mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
chore: enable ipv6 by default
This commit is contained in:
@@ -48,6 +48,7 @@ impl IClashTemp {
|
||||
map.insert("port".into(), 7899.into());
|
||||
map.insert("log-level".into(), "info".into());
|
||||
map.insert("allow-lan".into(), false.into());
|
||||
map.insert("ipv6".into(), true.into());
|
||||
map.insert("mode".into(), "rule".into());
|
||||
map.insert("external-controller".into(), "127.0.0.1:9097".into());
|
||||
let mut cors_map = Mapping::new();
|
||||
|
||||
@@ -180,6 +180,8 @@ fn init_dns_config() -> Result<()> {
|
||||
Value::String("system".into()),
|
||||
Value::String("223.6.6.6".into()),
|
||||
Value::String("8.8.8.8".into()),
|
||||
Value::String("2400:3200::1".into()),
|
||||
Value::String("2001:4860:4860::8888".into()),
|
||||
]),
|
||||
),
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user