Skip to content

Commit

Permalink
Update src/middleware.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
devsargam authored Dec 6, 2024
1 parent 2c9536f commit 9de2baa
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*'],
matcher: ['/courses/:path*', '/api/mobile/:path*', '/home'],
};

interface RequestWithUser extends NextRequest {
Expand Down

0 comments on commit 9de2baa

Please sign in to comment.