← Files ClerkARCHIVED FILE
skills/clerk-nextjs-patterns/templates/nextjs-basic-auth/proxy.ts
280 Bytes · Sep 30, 2026 · 23:09 UTC
import { clerkMiddleware } from '@clerk/nextjs/server'
export default clerkMiddleware()
export const config = {
matcher: [
'/((?!_next|[^?]*\\.(?:html?|css|js(?!on)|jpe?g|webp|png|gif|svg|ttf|woff2?|ico|csv|docx?|xlsx?|zip|webmanifest)).*)',
'/(api|trpc)(.*)',
],
}
SHA-256: 3f3d57175d003288cb831b4aa57cc63b6a1d4fdc7af09abe8a785814534fe71f