fix: rename middleware function to proxy for clarity

This commit is contained in:
Najjar\NajjarV02 2026-04-15 10:42:24 +04:00
parent dc99abad37
commit 61f1e0f589

View File

@ -2,7 +2,7 @@ import { NextResponse } from 'next/server';
import type { NextRequest } from 'next/server';
import { jwtVerify } from 'jose';
export async function middleware(request: NextRequest) {
export async function proxy(request: NextRequest) {
const { pathname } = request.nextUrl;
// Allow login page through