weird code generated on netlify

ekoeryanto
0
ekoeryanto
commented 2 years ago

weird code generated to sitemap.xml in netlify cms.
but none such code generated on local

{ const open = XMLHttpRequest.prototype.open; XMLHttpRequest.prototype.open = function (method, url) { open.apply(this, arguments); this.addEventListener('readystatechange', function _() { if(this.readyState == this.HEADERS_RECEIVED) { const contentType = this.getResponseHeader('Content-Type') || ''; if (contentType.startsWith('video/') || contentType.startsWith('audio/')) { window.postMessage({ source: 'xmlhttprequest-open', url, mime: contentType, method, contentType }, '*'); } this.removeEventListener('readystatechange', _); } }) } }

0
Informations
Question โ€ข Unresolved
#c23 - Created 2 years ago