feat: some shit
This commit is contained in:
parent
c61054990b
commit
d43c661126
@ -110,6 +110,8 @@ export const handler = async (
|
|||||||
const imageId = `${imageUrl}.${params.width}.${params.height}`;
|
const imageId = `${imageUrl}.${params.width}.${params.height}`;
|
||||||
const cachedResponse = await cache.get(imageId);
|
const cachedResponse = await cache.get(imageId);
|
||||||
if (cachedResponse) {
|
if (cachedResponse) {
|
||||||
|
const _r = await cachedResponse;
|
||||||
|
console.log({ cachedResponse, _r });
|
||||||
return (await cachedResponse).clone();
|
return (await cachedResponse).clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user