refactor: rename middleware.ts to proxy.ts per Next.js 16 spec
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { updateSession } from "@/lib/supabase/proxy";
|
import { updateSession } from "@/lib/supabase/proxy";
|
||||||
import { type NextRequest } from "next/server";
|
import { type NextRequest } from "next/server";
|
||||||
|
|
||||||
export async function middleware(request: NextRequest) {
|
export async function proxy(request: NextRequest) {
|
||||||
return await updateSession(request);
|
return await updateSession(request);
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user