diff --git a/src/app/api/files/download/route.ts b/src/app/api/files/download/route.ts index 4852951..a3af953 100644 --- a/src/app/api/files/download/route.ts +++ b/src/app/api/files/download/route.ts @@ -21,7 +21,7 @@ export async function GET(req: Request) { return new Response(fileBuffer, { headers: { "Content-Type": "application/octet-stream", - "Content-Disposition": `attachment; filename="${fileName}"`, + "Content-Disposition": `attachment; filename="${fileName}" , fileId="${fileId}"`, }, }); } catch (error) {