Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-singh-filestack committed Jan 3, 2024
1 parent 222cf99 commit db215ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/api/upload/file_tools.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit db215ba

Please sign in to comment.