From 9de2baa7a40cc6484dfc7c368a581a5380298d96 Mon Sep 17 00:00:00 2001 From: Sargam Date: Sat, 7 Dec 2024 02:00:20 +0530 Subject: [PATCH] Update src/middleware.ts --- src/middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {