Browse Source

fix: valid with unified-delay & tcp-concurrent

keiko233 1 năm trước cách đây
mục cha
commit
88c9b6849f
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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()
         }