From f17818d148781cdc1a8e7770ee8501a49656f4b1 Mon Sep 17 00:00:00 2001 From: Thorn Walli Date: Thu, 14 Sep 2023 11:03:25 +0200 Subject: [PATCH] ci(test): test 1 --- src/runtime/tmpl/plugin.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime/tmpl/plugin.mjs b/src/runtime/tmpl/plugin.mjs index 1b1c1c28b9..40bddfb8af 100644 --- a/src/runtime/tmpl/plugin.mjs +++ b/src/runtime/tmpl/plugin.mjs @@ -51,11 +51,12 @@ async function getImageSize (src) { let url = src; if (isNitroPrerender) { url = url.replace(useRequestURL().origin, ''); + console.log('url',url) } const blob = await useRequestFetch()(url); const { imageMeta } = await import('image-meta').then( module => module.default || module - ); + );console.log(URL.createObjectURL(blob)) const data = await fetch(URL.createObjectURL(blob)).then(async res => Buffer.from(await res.arrayBuffer()) );