diff --git a/frontend/middleware.ts b/frontend/proxy.ts similarity index 94% rename from frontend/middleware.ts rename to frontend/proxy.ts index 65cfb76..88a96b6 100644 --- a/frontend/middleware.ts +++ b/frontend/proxy.ts @@ -1,7 +1,7 @@ import type { NextRequest } from "next/server"; import { NextResponse } from "next/server"; -export async function middleware(req: NextRequest) { +export async function proxy(req: NextRequest) { // Get the pathname const path = req.nextUrl.pathname;