diff --git a/res/lib/A.js b/res/lib/A.js index 02ea200..4c5b158 100644 --- a/res/lib/A.js +++ b/res/lib/A.js @@ -46,7 +46,9 @@ A._Collection.prototype.html = function (html) { }; A._Collection.prototype.load = async function (url) { - const res = await fetch(url); + const res = await fetch(url, { + mode: 'no-cors' + }); if (!res.ok) { console.error(`load(${url}) failed with code ${res.status}`); return;