diff --git a/src/index.ts b/src/index.ts index 96d8c49..bce17e4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -115,6 +115,8 @@ async function proxyHandler(request: FastifyRequest<{ Params: { url: string; }; // Create temp file const file = await downloadAndDetectTypeFromUrl(url); + console.log(fs.statSync(file.path)); + try { const isConvertibleImage = isMimeImage(file.mime, 'sharp-convertible-image'); const isAnimationConvertibleImage = isMimeImage(file.mime, 'sharp-animation-convertible-image');