diff --git a/src/runtime/tmpl/plugin.mjs b/src/runtime/tmpl/plugin.mjs index 3bbe5ec19e..ed6464ccce 100644 --- a/src/runtime/tmpl/plugin.mjs +++ b/src/runtime/tmpl/plugin.mjs @@ -56,7 +56,8 @@ async function getImageSize (src) { const blob = await useRequestFetch()(url); const { imageMeta } = await import('image-meta').then( module => module.default || module - );console.error(URL.createObjectURL(blob)) + ); + console.error('blob?',blob) const data = await fetch(URL.createObjectURL(blob)).then(async res => Buffer.from(await res.arrayBuffer()) );