mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 07:21:20 +00:00
12 lines
398 B
TypeScript
12 lines
398 B
TypeScript
import { withClerkMiddleware } from "@clerk/nextjs/server";
|
|
import { NextResponse } from "next/server";
|
|
import type { NextRequest } from "next/server";
|
|
|
|
export default withClerkMiddleware((_req: NextRequest) => {
|
|
return NextResponse.next();
|
|
});
|
|
|
|
// Stop Middleware running on static files and public folder
|
|
export const config = {
|
|
matcher: ["/((?!_next|_static|_vercel|[\\w-]+\\.\\w+).*)"],
|
|
};
|