fix: rename exported function from middleware to proxy in proxy.ts

This commit is contained in:
Marko Djordjevic 2026-02-18 21:16:09 +01:00
parent 522c2f269d
commit 685b8e9733

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 { pathname } = request.nextUrl;
// Skip auth check for the health endpoint