mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-12 04:39:04 +00:00
20 lines
547 B
TypeScript
20 lines
547 B
TypeScript
import { NextRequest, NextResponse } from "next/server";
|
|
import { build } from "@server/build";
|
|
|
|
export function middleware(request: NextRequest) {
|
|
return NextResponse.next();
|
|
}
|
|
|
|
export const config = {
|
|
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).*)"
|
|
]
|
|
};
|