We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e6595e commit f95f028Copy full SHA for f95f028
middleware.ts
@@ -69,8 +69,6 @@ export async function middleware(request: NextRequest) {
69
return NextResponse.redirect(loginUrl);
70
}
71
72
-
73
- return NextResponse.next();
74
} catch (error) {
75
console.error("Middleware authentication error:", error);
76
@@ -88,6 +86,8 @@ export async function middleware(request: NextRequest) {
88
86
89
87
90
+
+ return NextResponse.next();
91
92
93
// Configure which routes the middleware should run on
0 commit comments