Skip to content

Commit

Permalink
ci(test): test 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ThornWalli committed Sep 14, 2023
1 parent f17818d commit 59849e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/tmpl/plugin.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
);
Expand Down

0 comments on commit 59849e3

Please sign in to comment.