Kaynağa Gözat

update vector search route

tumao 4 yıl önce
ebeveyn
işleme
d52af71d0a
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      client/src/router/Config.ts

+ 5 - 0
client/src/router/Config.ts

@@ -31,6 +31,11 @@ const RouterConfig: RouterConfigType[] = [
     component: VectorSearch,
     auth: true,
   },
+  {
+    path: '/search/:collectionName',
+    component: VectorSearch,
+    auth: true,
+  },
 ];
 
 export default RouterConfig;