diff --git a/scripts/release-cdn.mjs b/scripts/release-cdn.mjs index 7b6e27aa..dfa2c6ff 100644 --- a/scripts/release-cdn.mjs +++ b/scripts/release-cdn.mjs @@ -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', }) ) }