Skip to content

Commit f177fca

Browse files
committed
fix: middleware
1 parent da33e10 commit f177fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { clerkMiddleware, createRouteMatcher } from "@clerk/nextjs/server";
22

3-
const isProtectedRoute = createRouteMatcher(["", "/forum(.*)"]);
3+
const isProtectedRoute = createRouteMatcher(["/dashboard(.*)", "/forum(.*)"]);
44
// /dashboard(.*)
55

66
export default clerkMiddleware(async (auth, req) => {

0 commit comments

Comments
 (0)