a tool for shared writing and social publishing

set default redirect path to home

+1 -2
+1 -2
app/api/oauth/[route]/route.ts
··· 54 54 case "callback": { 55 55 const params = new URLSearchParams(req.url.split("?")[1]); 56 56 57 - //TODO remember to reset this to a better default! 58 - let redirectPath = "/lish"; 57 + let redirectPath = "/"; 59 58 try { 60 59 const { session, state } = await client.callback(params); 61 60 let s: OauthRequestClientState = JSON.parse(state || "{}");