Middleware -> proxy

This commit is contained in:
Owen
2026-05-27 21:31:59 -07:00
parent ddb132f9fa
commit b3963cc34b

19
src/proxy.ts Normal file
View File

@@ -0,0 +1,19 @@
import { NextRequest, NextResponse } from "next/server";
import { build } from "@server/build";
export function proxy(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).*)"
]
};