feat: manage clash mode

This commit is contained in:
GyDi 2022-01-24 23:13:13 +08:00
parent f94734a5c8
commit ab1b5897a6
No known key found for this signature in database
GPG Key ID: 1C95E0D3467B3084
2 changed files with 2 additions and 0 deletions

View File

@ -4,4 +4,5 @@ mixed-port: 7890
log-level: info
allow-lan: false
external-controller: 127.0.0.1:9090
mode: rule
secret: ""

View File

@ -306,6 +306,7 @@ pub async fn activate_profile(
"allow-lan",
"external-controller",
"secret",
"mode",
"ipv6",
];
valid_keys.iter().for_each(|key| {