fix: include fileId in Content-Disposition header for file downloads
This commit is contained in:
parent
b63e3ae77f
commit
453264d9cd
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user