Browse Source

update vector search route

tumao 4 years ago
parent
commit
d52af71d0a
1 changed files with 5 additions and 0 deletions
  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;