From db215baa64c7380ce0f8b06cc5f3be0db5df5c05 Mon Sep 17 00:00:00 2001 From: gary-singh-filestack Date: Wed, 3 Jan 2024 16:52:29 +0530 Subject: [PATCH] add log --- src/lib/api/upload/file_tools.browser.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/api/upload/file_tools.browser.ts b/src/lib/api/upload/file_tools.browser.ts index 7a512e4c..21653a72 100644 --- a/src/lib/api/upload/file_tools.browser.ts +++ b/src/lib/api/upload/file_tools.browser.ts @@ -179,6 +179,7 @@ export const getFile = (input: InputFile, sanitizeOptions?: SanitizeOptions): Pr async res => { let mime = file.type; let minimumBytes = 4100; + console.log("just for fun") if (!file.type || file.type.length === 0 || file.type === 'text/plain') { mime = await getMimetype(await res.slice(0, minimumBytes), filename); }