fix: rename exported function from middleware to proxy in proxy.ts
This commit is contained in:
parent
522c2f269d
commit
685b8e9733
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue