refactor: middleware.ts zu proxy.ts umbenannt gemaess Next.js 16 Spezifikation
Some checks failed
Staging Build / build (push) Has been cancelled
Some checks failed
Staging Build / build (push) Has been cancelled
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