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

export function proxy(request: NextRequest) {
  if (request.nextUrl.pathname === '/') {
    return NextResponse.redirect(new URL('/books', request.url));
  }
}
