Skip to content

Commit

Permalink
[Local folder] Allow all image types
Browse files Browse the repository at this point in the history
Implementing review feedback from PR #145

#145 (comment)
  • Loading branch information
Lucki authored and ifl0w committed Feb 11, 2024
1 parent 616eb1b commit d057802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapter/localFolder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class LocalFolderAdapter extends BaseAdapter {
}

const contentType = info.get_content_type();
if (contentType === 'image/png' || contentType === 'image/jpeg')
if (contentType?.startsWith('image/'))
files.push(child);
}

Expand Down

0 comments on commit d057802

Please sign in to comment.