diff --git a/src/routes/github.ts b/src/routes/github.ts index 3482c119..03159f6d 100644 --- a/src/routes/github.ts +++ b/src/routes/github.ts @@ -66,8 +66,7 @@ router.get("/github/callback", async (req: any, res: any) => { const user = await getUser({ code }); - console.log(user); - res.redirect("http://localhost:3000") + res.send(user); }) export {};