Skip to content

Commit

Permalink
remove the file download header
Browse files Browse the repository at this point in the history
  • Loading branch information
malteish committed Sep 11, 2024
1 parent e608cca commit 9bb0fb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/delivery-service/src/metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ export default (
const csvData = [headers.join(','), ...csvRows].join('\n');

res.setHeader('Content-Type', 'text/csv');
res.setHeader(
'Content-Disposition',
'attachment; filename=metrics.csv',
);
// res.setHeader(
// 'Content-Disposition',
// 'attachment; filename=metrics.csv',
// );
return res.status(200).send(csvData);
});

Expand Down

0 comments on commit 9bb0fb7

Please sign in to comment.