middleware -> proxy

This commit is contained in:
Gavin McDonald
2025-12-06 17:40:39 -05:00
parent 52636017a5
commit 269abd237e

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 url = request.nextUrl;
const slug = url.pathname.slice(1);