import type { NextRequest } from 'next/server';
import { proxyReleaseDownload } from '@/lib/proxy-release-download';

export const runtime = 'nodejs';

export async function GET(request: NextRequest, context: { params: Promise<{ releaseId: string }> }) {
  const { releaseId } = await context.params;
  return proxyReleaseDownload(request, 'android', releaseId);
}
