From d1839510d8e47af9e86f245972666bf7cd052889 Mon Sep 17 00:00:00 2001 From: Sargam Poudel Date: Sat, 7 Dec 2024 02:16:29 +0530 Subject: [PATCH] middleware fixes --- src/middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware.ts b/src/middleware.ts index 4f6585a1..ffae8401 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*', '/home'], + matcher: ['/courses/:path*', '/api/mobile/:path*', '/home', '/bounty'], }; interface RequestWithUser extends NextRequest {