mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-02-19 01:55:48 -05:00
fix: zip doesn't contain file extension
This commit is contained in:
parent
3d1d4d0fc7
commit
5b01108777
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ export class FileController {
|
|||
const zip = this.fileService.getZip(shareId);
|
||||
res.set({
|
||||
"Content-Type": "application/zip",
|
||||
"Content-Disposition": `attachment ; filename="pingvin-share-${shareId}"`,
|
||||
"Content-Disposition": `attachment ; filename="pingvin-share-${shareId}.zip"`,
|
||||
});
|
||||
|
||||
return new StreamableFile(zip);
|
||||
|
|
Loading…
Add table
Reference in a new issue