remove debug log

This commit is contained in:
tamaina 2023-02-06 15:06:08 +00:00
parent fc867289da
commit 15983012fd
2 changed files with 0 additions and 3 deletions

View File

@ -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');

View File

@ -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');