diff --git a/src/runtime/tmpl/plugin.mjs b/src/runtime/tmpl/plugin.mjs index 40bddfb8af..3bbe5ec19e 100644 --- a/src/runtime/tmpl/plugin.mjs +++ b/src/runtime/tmpl/plugin.mjs @@ -51,12 +51,12 @@ async function getImageSize (src) { let url = src; if (isNitroPrerender) { url = url.replace(useRequestURL().origin, ''); - console.log('url',url) + console.error('url',url) } const blob = await useRequestFetch()(url); const { imageMeta } = await import('image-meta').then( module => module.default || module - );console.log(URL.createObjectURL(blob)) + );console.error(URL.createObjectURL(blob)) const data = await fetch(URL.createObjectURL(blob)).then(async res => Buffer.from(await res.arrayBuffer()) );