From 0f0b8ed3191210707965cc78ae626023c3b922f0 Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Tue, 12 May 2026 22:08:30 +0100 Subject: add clerk auth --- communities/red-right-hand/174bg.net/src/proxy.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 communities/red-right-hand/174bg.net/src/proxy.js (limited to 'communities/red-right-hand/174bg.net/src/proxy.js') diff --git a/communities/red-right-hand/174bg.net/src/proxy.js b/communities/red-right-hand/174bg.net/src/proxy.js new file mode 100644 index 0000000..21b699f --- /dev/null +++ b/communities/red-right-hand/174bg.net/src/proxy.js @@ -0,0 +1,12 @@ +import { clerkMiddleware } from "@clerk/nextjs/server"; + +export default clerkMiddleware(); + +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)(.*)", + ], +}; -- cgit v1.2.3