diff --git a/preload/preload-resource-match.https.html b/preload/preload-resource-match.https.html index 55cfd872d3fa27..28c1c7cb75629b 100644 --- a/preload/preload-resource-match.https.html +++ b/preload/preload-resource-match.https.html @@ -103,7 +103,7 @@ }, fetch: async (href, attr, t) => { const options = {mode: attr.crossOrigin ? 'cors' : 'no-cors', - credentials: !attr.crossOrigin || attr.crossOrigin === 'anonymous' ? 'omit' : 'include'} + credentials: attr.crossOrigin === 'anonymous' ? 'same-origin' : 'include'} const response = await fetch(href, options) await response.text(); @@ -168,4 +168,4 @@ } } - \ No newline at end of file +