Skip to content

Commit ce13f59

Browse files
committed
fix: update
1 parent 3cbcbd3 commit ce13f59

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

proxy.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ import { NextResponse } from 'next/server';
44

55
export async function proxy(request: NextRequest) {
66
const cookies = getSessionCookie(request);
7-
console.log('cookies', cookies);
87
if (!cookies) {
98
return NextResponse.redirect(new URL('/register', request.url));
109
}
1110
return NextResponse.next();
1211
}
1312

1413
export const config = {
15-
matcher: ['/organizations', '/me'],
14+
matcher: [''],
1615
};

0 commit comments

Comments
 (0)