11 lines
302 B
TypeScript
11 lines
302 B
TypeScript
import { withSecurityHeaders } from "@repo/core-shared/security/next";
|
|
import type { NextRequest } from "next/server";
|
|
|
|
export function middleware(request: NextRequest) {
|
|
return withSecurityHeaders(request);
|
|
}
|
|
|
|
export const config = {
|
|
matcher: ["/((?!_next/static|_next/image|favicon.ico).*)"],
|
|
};
|