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

export const runtime = 'nodejs';

export async function GET(request: NextRequest) {
  const target = new URL('/downloads', request.nextUrl.origin);
  return NextResponse.redirect(target, 302);
}
