forked from Mirrors/elk
fix(tauri): add /api/list-servers
route
This commit is contained in:
parent
0cb974fcf7
commit
d36e21c5f1
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@ const handlers = [
|
||||||
route: '/api/:server/login',
|
route: '/api/:server/login',
|
||||||
handler: defineLazyEventHandler(() => import('~/server/api/[server]/login').then(r => r.default || r)),
|
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)
|
const { protocol, host } = parseURL(window.location.href)
|
||||||
|
|
Loading…
Reference in a new issue