Skip to content
Snippets Groups Projects
Unverified Commit ab1b5897 authored by GyDi's avatar GyDi
Browse files

feat: manage clash mode

parent f94734a5
No related branches found
No related tags found
No related merge requests found
...@@ -4,4 +4,5 @@ mixed-port: 7890 ...@@ -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( ...@@ -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| {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment