Files
OpenCut/apps/web/src/middleware.ts
T

19 lines
426 B
TypeScript
Raw Normal View History

2025-07-24 14:41:34 -07:00
import { NextResponse } from "next/server";
2026-01-31 00:20:04 +01:00
export async function middleware() {
return NextResponse.next();
2025-07-24 14:41:34 -07:00
}
export const config = {
2026-01-31 00:20:04 +01:00
matcher: [
/*
* Match all request paths except for the ones starting with:
* - api (API routes)
* - _next/static (static files)
* - _next/image (image optimization files)
* - favicon.ico (favicon file)
*/
"/((?!api|_next/static|_next/image|favicon.ico).*)",
],
2025-07-24 14:41:34 -07:00
};