diff --git a/middleware.ts b/proxy.ts similarity index 90% rename from middleware.ts rename to proxy.ts index 7482dae..8c3e3fb 100644 --- a/middleware.ts +++ b/proxy.ts @@ -1,7 +1,7 @@ import { NextResponse } from 'next/server'; import type { NextRequest } from 'next/server'; -export function middleware(request: NextRequest) { +export function proxy(request: NextRequest) { const url = request.nextUrl; const slug = url.pathname.slice(1);