diff --git a/src/middleware.ts b/src/middleware.ts index 0b52ba8ca..4f6585a11 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -4,7 +4,7 @@ import { jwtVerify, importJWK, JWTPayload } from 'jose'; import { getToken } from 'next-auth/jwt'; export const config = { - matcher: ['/courses/:path*', '/api/mobile/:path*'], + matcher: ['/courses/:path*', '/api/mobile/:path*', '/home'], }; interface RequestWithUser extends NextRequest {