We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15a3459 commit b8554ecCopy full SHA for b8554ec
src/middleware.ts src/proxy.tssrc/middleware.ts renamed to src/proxy.ts
@@ -106,7 +106,7 @@ function shouldLog(pathname: string): boolean {
106
/**
107
* Enhanced middleware function with comprehensive HTTP access logging
108
*/
109
-export function middleware(request: NextRequest): NextResponse {
+export function proxy(request: NextRequest): NextResponse {
110
// Use Date.now() for Edge Runtime compatibility
111
const startTime = Date.now()
112
const { pathname, search } = request.nextUrl
0 commit comments