File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ dependencies = [
3636 " pyyaml (>=6.0.2,<7.0.0)" ,
3737 " fastapi-mcp (>=0.3.4,<0.4.0)" ,
3838 " tabulate>=0.9.0" ,
39- " sqlbot-xpack==0.0.3.10 " ,
39+ " sqlbot-xpack==0.0.3.11 " ,
4040 " fastapi-cache2>=0.2.2" ,
4141 " sqlparse>=0.5.3" ,
4242 " redis>=6.2.0" ,
Original file line number Diff line number Diff line change @@ -168,5 +168,5 @@ const router = createRouter({
168168 } ,
169169 ] ,
170170} )
171- watchRouter ( router )
171+ await watchRouter ( router )
172172export default router
Original file line number Diff line number Diff line change @@ -6,9 +6,10 @@ const userStore = useUserStore()
66const { wsCache } = useCache ( )
77const whiteList = [ '/login' ]
88const assistantWhiteList = [ '/assistant' ]
9- export const watchRouter = ( router : any ) => {
9+ export const watchRouter = async ( router : any ) => {
10+ await loadXpackStatic ( )
11+ LicenseGenerator . generateRouters ( router )
1012 router . beforeEach ( async ( to : any , from : any , next : any ) => {
11- await loadXpackStatic ( )
1213 if ( assistantWhiteList . includes ( to . path ) ) {
1314 next ( )
1415 return
You can’t perform that action at this time.
0 commit comments