Skip to content

Commit

Permalink
fix: do not convert images in zip to HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
aalemayhu committed Dec 21, 2024
1 parent 59e34d2 commit 36de637
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/usecases/uploads/isZipContentFileSupported.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
isPlainText,
isCSVFile,
isPDFFile,
isImageFile,
} from '../../lib/storage/checks';

/**
Expand All @@ -15,5 +14,4 @@ export const isZipContentFileSupported = (filename: string) =>
isMarkdownFile(filename) ??
isPlainText(filename) ??
isCSVFile(filename) ??
isPDFFile(filename) ??
isImageFile(filename);
isPDFFile(filename);

0 comments on commit 36de637

Please sign in to comment.