Skip to content

Commit

Permalink
fix: zip doesn't contain file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
stonith404 committed Dec 11, 2022
1 parent 3d1d4d0 commit 5b01108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/file/file.controller.ts
Expand Up @@ -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);
Expand Down

0 comments on commit 5b01108

Please sign in to comment.