From d43c6611262e6f255893460f041659d17ef1564c Mon Sep 17 00:00:00 2001 From: Max Richter Date: Wed, 26 Jul 2023 16:26:15 +0200 Subject: [PATCH] feat: some shit --- routes/api/recipes/images/[image].ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routes/api/recipes/images/[image].ts b/routes/api/recipes/images/[image].ts index 3d7ffc8..af285ae 100644 --- a/routes/api/recipes/images/[image].ts +++ b/routes/api/recipes/images/[image].ts @@ -110,6 +110,8 @@ export const handler = async ( const imageId = `${imageUrl}.${params.width}.${params.height}`; const cachedResponse = await cache.get(imageId); if (cachedResponse) { + const _r = await cachedResponse; + console.log({ cachedResponse, _r }); return (await cachedResponse).clone(); }