diff --git a/proxy.ts b/proxy.ts index cdff693..300e9d2 100644 --- a/proxy.ts +++ b/proxy.ts @@ -33,7 +33,7 @@ async function verifyAdminToken(token: string): Promise { } } -export async function middleware(request: NextRequest) { +export async function proxy(request: NextRequest) { const { pathname } = request.nextUrl; // /admin 경로 보호 (/admin/login 제외)