aboutsummaryrefslogtreecommitdiff
path: root/communities/red-right-hand/174bg.net/src/proxy.js
blob: 21b699fbcefacec8c728d39b8383d90e456191f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)(.*)",
  ],
};