renamed middleware to proxy

This commit is contained in:
2026-02-18 12:14:28 -06:00
parent e2c4734306
commit 54a2046d06
+1 -1
View File
@@ -1,7 +1,7 @@
import { NextResponse } from "next/server";
import type { NextRequest } from "next/server";
export function middleware(request: NextRequest) {
export function proxy(request: NextRequest) {
const token = request.cookies.get("token")?.value;
const pathname = request.nextUrl.pathname;