From 39f1d4925ce3533a7e96dd4982730659cb155646 Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Mon, 29 Sep 2025 09:59:36 -1000 Subject: [PATCH] set default redirect path to home --- app/api/oauth/[route]/route.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/api/oauth/[route]/route.ts b/app/api/oauth/[route]/route.ts index 96bcfda6..3ea702d8 100644 --- a/app/api/oauth/[route]/route.ts +++ b/app/api/oauth/[route]/route.ts @@ -54,8 +54,7 @@ export async function GET( case "callback": { const params = new URLSearchParams(req.url.split("?")[1]); - //TODO remember to reset this to a better default! - let redirectPath = "/lish"; + let redirectPath = "/"; try { const { session, state } = await client.callback(params); let s: OauthRequestClientState = JSON.parse(state || "{}"); -- 2.51.2