diff --git a/packages/qwik/src/optimizer/src/plugins/image-size-runtime.html b/packages/qwik/src/optimizer/src/plugins/image-size-runtime.html index cd219427dc6..3e28e740e82 100644 --- a/packages/qwik/src/optimizer/src/plugins/image-size-runtime.html +++ b/packages/qwik/src/optimizer/src/plugins/image-size-runtime.html @@ -273,6 +273,9 @@
let skip = false; async function _getInfo(originalSrc) { + if (originalSrc.startsWith('blob:')) { + return undefined; + } const url = new URL('/__image_info', location.href); url.searchParams.set('url', originalSrc); const res = await fetch(url);