This commit is contained in:
parent
71ff245e28
commit
8d0f8a6ba9
|
|
@ -81,7 +81,7 @@ export default async function Login({
|
|||
|
||||
if (error) {
|
||||
console.log(`==================> ${localeString}/login?message=${error.message}`);
|
||||
return redirect(`${localeString}/login?message=${error.message}`)
|
||||
return redirect(`/${localeString}/login?message=${error.message}`)
|
||||
}
|
||||
|
||||
const { data: homeWorkspace, error: homeWorkspaceError } = await supabase
|
||||
|
|
@ -98,7 +98,7 @@ export default async function Login({
|
|||
}
|
||||
|
||||
console.log("2======>Redirecting to workspace:", homeWorkspace.id)
|
||||
return redirect(`${localeString}/${homeWorkspace.id}/chat`)
|
||||
return redirect(`/${localeString}/${homeWorkspace.id}/chat`)
|
||||
}
|
||||
|
||||
const getEnvVarOrEdgeConfigValue = async (name: string) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue