fix: update import for tauri

This commit is contained in:
Daniel Roe 2023-02-12 13:21:57 +01:00
parent d7a95eab3b
commit 898a43b783

View file

@ -14,7 +14,7 @@ import {
const handlers = [
{
route: '/api/:server/oauth',
handler: defineLazyEventHandler(() => import('~/server/api/[server]/oauth').then(r => r.default || r)),
handler: defineLazyEventHandler(() => import('~/server/api/[server]/oauth/[origin]').then(r => r.default || r)),
},
{
route: '/api/:server/login',