mirror of
https://github.com/misskey-dev/media-proxy.git
synced 2025-04-29 02:47:26 +09:00
remove debug log
This commit is contained in:
parent
fc867289da
commit
15983012fd
@ -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');
|
||||
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user