fix(tauri): add /api/list-servers
route
This commit is contained in:
parent
0cb974fcf7
commit
d36e21c5f1
@ -20,6 +20,10 @@ const handlers = [
|
||||
route: '/api/:server/login',
|
||||
handler: defineLazyEventHandler(() => import('~/server/api/[server]/login').then(r => r.default || r)),
|
||||
},
|
||||
{
|
||||
route: '/api/list-servers',
|
||||
handler: defineLazyEventHandler(() => import('~/server/api/list-servers').then(r => r.default || r)),
|
||||
},
|
||||
]
|
||||
|
||||
const { protocol, host } = parseURL(window.location.href)
|
||||
|
Loading…
Reference in New Issue
Block a user