Upload js files to S3 with wrong content-type

Advertisement

ybh
Guest

Upload js files to S3 with wrong content-type

When uploading .js files to Amazon S3 storage, the content-type is set to binary/octet-stream instead of application/javascript.
When viewing these js files the browser downloads the files instead of viewing the files.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum