Skip to content

Commit dbc546d

Browse files
chore: revert other
1 parent 1e8f741 commit dbc546d

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)