Browse Source

fix: valid with unified-delay & tcp-concurrent

keiko233 1 year ago
parent
commit
88c9b6849f
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src-tauri/src/config/profiles.rs

+ 5 - 1
src-tauri/src/config/profiles.rs

@@ -55,7 +55,11 @@ impl IProfiles {
 
     pub fn template() -> Self {
         Self {
-            valid: Some(vec!["dns".into()]),
+            valid: Some(vec![
+                "dns".into(),
+                "unified-delay".into(),
+                "tcp-concurrent".into(),
+            ]),
             items: Some(vec![]),
             ..Self::default()
         }