This commit is contained in:
parent
68da9c5656
commit
c90b7eba69
|
|
@ -74,8 +74,8 @@ export default async function Login({
|
||||||
// Since we used `.limit(1)`, we can safely use `.single()` now
|
// Since we used `.limit(1)`, we can safely use `.single()` now
|
||||||
const workspace = homeWorkspace[0]; // Use the first (and only) row
|
const workspace = homeWorkspace[0]; // Use the first (and only) row
|
||||||
|
|
||||||
|
return redirect(`/${localeString}/${workspace.id}/chat`)
|
||||||
return redirect(`/${localeString}/${homeWorkspace.id}/chat`)
|
//return redirect(`/${localeString}/${homeWorkspace.id}/chat`)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -128,7 +128,8 @@ export default async function Login({
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
return redirect(`/${localeString}/${homeWorkspace.id}/chat`)
|
return redirect(`/${localeString}/${workspace.id}/chat`)
|
||||||
|
//return redirect(`/${localeString}/${homeWorkspace.id}/chat`)
|
||||||
}
|
}
|
||||||
|
|
||||||
const getEnvVarOrEdgeConfigValue = async (name: string) => {
|
const getEnvVarOrEdgeConfigValue = async (name: string) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue