diff --git a/proxy.ts b/proxy.ts index 8f2e9b1..0429e92 100644 --- a/proxy.ts +++ b/proxy.ts @@ -2,7 +2,7 @@ import { NextResponse } from "next/server" import type { NextRequest } from "next/server" import { getToken } from "next-auth/jwt" -export async function middleware(request: NextRequest) { +export async function proxy(request: NextRequest) { const pathname = request.nextUrl.pathname // Public routes - allow access