diff --git a/website/src/middleware.ts b/website/src/middleware.ts index d1cd6801..21eeaaa7 100644 --- a/website/src/middleware.ts +++ b/website/src/middleware.ts @@ -4,5 +4,15 @@ export { default } from "next-auth/middleware"; * Guards these pages and redirects them to the sign in page. */ export const config = { - matcher: ["/create/:path*", "/evaluate/:path*", "/label/:path*", "/account/:path*", "/dashboard", "/admin/:path*"], + matcher: [ + "/create/:path*", + "/evaluate/:path*", + "/label/:path*", + "/account/:path*", + "/dashboard", + "/admin/:path*", + "/tasks/:path*", + "/leaderboard", + "/messages/:path*", + ], };