import { NextResponse } from 'next/server';
import type { NextRequest } from 'next/server';

// Admin routes are protected client-side by AdminAuthGuard.
// This middleware handles redirect preservation only.
export function middleware(request: NextRequest) {
  return NextResponse.next();
}

export const config = {
  matcher: ['/admin/:path*'],
};
