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

Memberships

The Founders Club

60.7k members โ€ข Free

The 10k Club

9.3k members โ€ข Free

Automation Incubatorโ„ข

43.1k members โ€ข Free

AI Automation Agency Hub

275k members โ€ข Free

Data Alchemy

38k members โ€ข Free

Facebook Ads Alchemy (Free)

1.8k members โ€ข Free

Real Men Real Style Community

13.9k members โ€ข Free

4D Copywriting Community

62.5k members โ€ข Free

BrandBuilder

547 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 267d ago
Joined Jul 24, 2024
Powered by