diff --git a/src-tauri/resources/config_tmp.yaml b/src-tauri/resources/config_tmp.yaml index 8a60f73..f987909 100644 --- a/src-tauri/resources/config_tmp.yaml +++ b/src-tauri/resources/config_tmp.yaml @@ -4,4 +4,5 @@ mixed-port: 7890 log-level: info allow-lan: false external-controller: 127.0.0.1:9090 +mode: rule secret: "" diff --git a/src-tauri/src/core/profiles.rs b/src-tauri/src/core/profiles.rs index b93e664..96093c7 100644 --- a/src-tauri/src/core/profiles.rs +++ b/src-tauri/src/core/profiles.rs @@ -306,6 +306,7 @@ pub async fn activate_profile( "allow-lan", "external-controller", "secret", + "mode", "ipv6", ]; valid_keys.iter().for_each(|key| {