fix: update import for tauri

zio/stable
Daniel Roe 2023-02-12 13:21:57 +01:00
parent d7a95eab3b
commit 898a43b783
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import {
const handlers = [ const handlers = [
{ {
route: '/api/:server/oauth', 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', route: '/api/:server/login',