From 15983012fd9bef10da5cd68db179ac02c469bedf Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 6 Feb 2023 15:06:08 +0000 Subject: [PATCH] remove debug log --- built/index.js | 1 - src/index.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/built/index.js b/built/index.js index fc48fb1..54744f9 100644 --- a/built/index.js +++ b/built/index.js @@ -77,7 +77,6 @@ async function proxyHandler(request, reply) { } // 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'); diff --git a/src/index.ts b/src/index.ts index bce17e4..96d8c49 100644 --- a/src/index.ts +++ b/src/index.ts @@ -115,8 +115,6 @@ 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');