feat: manage clash mode
This commit is contained in:
parent
f94734a5c8
commit
ab1b5897a6
@ -4,4 +4,5 @@ mixed-port: 7890
|
|||||||
log-level: info
|
log-level: info
|
||||||
allow-lan: false
|
allow-lan: false
|
||||||
external-controller: 127.0.0.1:9090
|
external-controller: 127.0.0.1:9090
|
||||||
|
mode: rule
|
||||||
secret: ""
|
secret: ""
|
||||||
|
@ -306,6 +306,7 @@ pub async fn activate_profile(
|
|||||||
"allow-lan",
|
"allow-lan",
|
||||||
"external-controller",
|
"external-controller",
|
||||||
"secret",
|
"secret",
|
||||||
|
"mode",
|
||||||
"ipv6",
|
"ipv6",
|
||||||
];
|
];
|
||||||
valid_keys.iter().for_each(|key| {
|
valid_keys.iter().for_each(|key| {
|
||||||
|
Loading…
Reference in New Issue
Block a user