Skip to content

Commit 3e2b71f

Browse files
committed
refactor: migrate middleware.ts to proxy.ts per Next.js 16 conventions
1 parent b6bc30c commit 3e2b71f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

middleware.ts renamed to proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
type MiddlewareContext,
99
} from '@/lib/middleware'
1010

11-
export async function middleware(request: NextRequest) {
11+
export async function proxy(request: NextRequest) {
1212
// Apply rate limiting for API routes
1313
const rateLimitResult = rateLimitMiddleware(request)
1414
if (rateLimitResult) return rateLimitResult

0 commit comments

Comments
 (0)