diff --git a/src/lib/web-worker/worker-exec.ts b/src/lib/web-worker/worker-exec.ts index 9c803665..b97e040e 100644 --- a/src/lib/web-worker/worker-exec.ts +++ b/src/lib/web-worker/worker-exec.ts @@ -37,7 +37,7 @@ export const imageRequest = (elm: WorkerImageElement) => { const privateValues = elm[PrivateValues]; privateValues.c = false; - fetch(elm.src).then((rsp) => { + fetch(elm.src, { mode: 'no-cors' }).then((rsp) => { privateValues.c = true; if (rsp.ok) { if (privateValues.$onload$) {