We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a2c404 commit 97f69a2Copy full SHA for 97f69a2
1 file changed
apps/sim/middleware.ts
@@ -147,6 +147,10 @@ export async function middleware(request: NextRequest) {
147
return NextResponse.next()
148
}
149
150
+ if (url.pathname.startsWith('/chat/')) {
151
+ return NextResponse.next()
152
+ }
153
+
154
if (url.pathname.startsWith('/workspace')) {
155
if (!hasActiveSession) {
156
return NextResponse.redirect(new URL('/login', request.url))
0 commit comments