fix and update

This commit is contained in:
lendry
2026-07-07 10:29:07 +03:00
parent bd6cd0d798
commit 12f46f572d
10 changed files with 115 additions and 31 deletions

View File

@@ -0,0 +1,9 @@
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, 'windows', releaseId);
}