refactor: rename proxy.ts to middleware.ts and update function name to middleware

This commit is contained in:
DanielS
2026-06-24 13:02:28 +02:00
parent f2db40fa36
commit 6e5cee0180

View File

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