Skip to content

Commit

Permalink
Merge pull request #19 from kloudmate/content-type
Browse files Browse the repository at this point in the history
modify content type
  • Loading branch information
amitava82 authored Jul 23, 2024
2 parents bcae6bf + df23072 commit 5999a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release-cdn.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ for (const file of files) {
Body: data,
Bucket: process.env.BUCKET_NAME,
Key: fileName,
ContentType: ext === 'js' && 'text/javascript',
ContentType: ext === 'js' ? 'application/javascript' : 'application/json',
})
)
}
Expand Down

0 comments on commit 5999a8a

Please sign in to comment.