Skip to content

Commit

Permalink
middleware fixes (code100x#1620)
Browse files Browse the repository at this point in the history
  • Loading branch information
devsargam authored Dec 6, 2024
1 parent 85b428d commit ff3bda3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ff3bda3

Please sign in to comment.