fix: auth routing

This commit is contained in:
Adam
2026-02-06 12:20:50 -06:00
parent 6a5c1a74f1
commit f256a65b59
3 changed files with 4 additions and 5 deletions
@@ -9,8 +9,6 @@ export async function GET(input: APIEvent) {
const workspaceID = await getLastSeenWorkspaceID()
return redirect(route(locale, `/workspace/${workspaceID}`))
} catch {
const cont = route(locale, "/auth")
if (cont === "/auth") return redirect("/auth/authorize")
return redirect(`/auth/authorize?continue=${encodeURIComponent(cont)}`)
return redirect("/auth/authorize")
}
}