Skip to content

Commit 870844c

Browse files
chore: revert other
1 parent cfeee53 commit 870844c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function handleRootPathRedirects(
3232
if (hasActiveSession) {
3333
return NextResponse.redirect(new URL('/workspace', request.url))
3434
}
35-
return null
35+
return NextResponse.redirect(new URL('/login', request.url))
3636
}
3737

3838
// For root path, redirect authenticated users to workspace

0 commit comments

Comments
 (0)