refactor: rename middleware.ts to proxy.ts per Next.js 16 spec

This commit is contained in:
DanielS
2026-06-30 15:23:57 +02:00
parent 5b7ccfd8d9
commit 19b4ac2729

View File

@@ -1,7 +1,7 @@
import { updateSession } from "@/lib/supabase/proxy";
import { type NextRequest } from "next/server";
export async function middleware(request: NextRequest) {
export async function proxy(request: NextRequest) {
return await updateSession(request);
}