Activity
Mon
Wed
Fri
Sun
Aug
Sep
Oct
Nov
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
What is this?
Less
More

Memberships

The Founders Club

61.6k members • Free

The 10k Club

9.2k members • Free

Hamza's Automation Incubator™

47.2k members • Free

AI Automation Agency Hub

328.9k members • Free

Data Alchemy

37.6k members • Free

Facebook Ads Alchemy (Free)

1.8k members • Free

Real Men Real Style Community

13.6k members • Free

4D Copywriting Community

64.5k members • Free

BrandBuilder

537 members • Free

1 contribution to University of Code
Please help me with the middleware authentication
I wrote this code : "import { clerkMiddleware, createRouteMatcher } from "@clerk/nextjs/server"; const isProtectedRoute = createRouteMatcher(["/dashboard(.*)"]); export default clerkMiddleware((auth , req) => { if (isProtectedRoute(req)) { auth().protect() }; }); export const config = { matcher: [ // Skip Next.js internals and all static files, unless found in search params '/((?!_next|[^?]*\\.(?:html?|css|js(?!on)|jpe?g|webp|png|gif|svg|ttf|woff2?|ico|csv|docx?|xlsx?|zip|webmanifest)).*)', // Always run for API routes '/(api|trpc)(.*)', ], };". But when I open the localhost it is showing as shown in the image though I have given my secret key
Please help me with the middleware authentication
0 likes • Jul '24
@Md Kaif Ansari ok
0 likes • Jul '24
@Manoj Kumar I have bro
1-1 of 1
J b Sougandh
2
15points to level up
@j-b-sougandh-4683
Getting Rich💰💸. Please don’t sell me anything cuz you are wasting your time

Active 208d ago
Joined Jul 24, 2024