diff options
| author | Dax Raad <[email protected]> | 2025-08-27 21:47:45 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-08-27 21:47:45 -0400 |
| commit | 63c7c921ed5bf9ee4f579d88a40748b5e92cd2b8 (patch) | |
| tree | 8f287177502ba0c57f184281b3feadf0c6e4f821 /cloud | |
| parent | bce1398b73e67e90ecf31874105bd104f633a3e6 (diff) | |
| download | opencode-63c7c921ed5bf9ee4f579d88a40748b5e92cd2b8.tar.gz opencode-63c7c921ed5bf9ee4f579d88a40748b5e92cd2b8.zip | |
ignore: cloud
Diffstat (limited to 'cloud')
| -rw-r--r-- | cloud/app/src/routes/auth/callback.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cloud/app/src/routes/auth/callback.ts b/cloud/app/src/routes/auth/callback.ts index 22dcb2b6d..edeb35790 100644 --- a/cloud/app/src/routes/auth/callback.ts +++ b/cloud/app/src/routes/auth/callback.ts @@ -1,3 +1,4 @@ +import { redirect } from "@solidjs/router" import type { APIEvent } from "@solidjs/start/server" import { AuthClient, useAuthSession } from "~/context/auth" @@ -25,7 +26,5 @@ export async function GET(input: APIEvent) { current: id, } }) - return { - result, - } + return redirect("/") } |
