Wednesday, August 3, 2022

SVG images from AWS Cloudfront downloading while opening in browser

 Why SVG  images from AWS Cloudfront downloading instead of opening opening?

 In S3 Bucket, by default SVG Image Content-type header is "application/octet-stream", so you need to change it to "image/svg+xml". 

Screen shot to change the content-type of SVG image at s3 bucket using the cloudberry Software.




No comments: