1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-23 22:56:09 +09:00

fix(tauri): add /api/list-servers route

This commit is contained in:
Daniel Roe 2023-01-10 12:25:57 +00:00
parent 0cb974fcf7
commit d36e21c5f1

View File

@ -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)