From 161b9fd23ef45b18b19b0ed7246e2276e6ab7872 Mon Sep 17 00:00:00 2001 From: hailin Date: Tue, 15 Apr 2025 12:06:06 +0800 Subject: [PATCH] . --- app/[locale]/login/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/[locale]/login/page.tsx b/app/[locale]/login/page.tsx index 1e16392..411aa68 100644 --- a/app/[locale]/login/page.tsx +++ b/app/[locale]/login/page.tsx @@ -45,6 +45,7 @@ export default async function Login({ throw new Error(error.message) } + console.log("1======>Redirecting to workspace:", homeWorkspace.id) return redirect(`/${homeWorkspace.id}/chat`) } @@ -78,8 +79,8 @@ export default async function Login({ ) } - console.log("======>Redirecting to workspace:", homeWorkspace.id) - //return redirect(`/${homeWorkspace.id}/chat`) + console.log("2======>Redirecting to workspace:", homeWorkspace.id) + return redirect(`/${homeWorkspace.id}/chat`) } const getEnvVarOrEdgeConfigValue = async (name: string) => {