fix: rename middleware function to proxy for clarity
This commit is contained in:
parent
dc99abad37
commit
61f1e0f589
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user