static-html-output
static-html-output copied to clipboard
Can I change the content-type of files deployed on s3
I want to change the content-type of sitemap.xml to text/xml. By default, it goes application/octet-stream and get downloaded.

How can I make sure it's always text/xml?
Looks like in MimeTypes.php, you need something like this around line 14:
$wp_mime_types['xml'] = 'text/xml; charset=UTF-8';