Skip to content

Commit

Permalink
Fix Content-Type header in S3 proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Aug 22, 2024
1 parent f587341 commit a5e1fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/lib/s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default class S3Helper {
res.writeHead(200, {
'Content-Disposition': `inline; filename="${name}"`,
'Content-Length': s3headers.ContentLength,
'ContentType': s3headers.ContentType
'Content-Type': s3headers.ContentType
});

s3request.Body.pipe(res);
Expand Down

0 comments on commit a5e1fbd

Please sign in to comment.