We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aac5e56 commit c2d5eaeCopy full SHA for c2d5eae
components/upload/UploadList.jsx
@@ -34,7 +34,7 @@ const isImageUrl = file => {
34
}
35
const url = file.thumbUrl || file.url;
36
const extension = extname(url);
37
- if (/^data:image\//.test(url) || /(webp|svg|png|gif|jpg|jpeg|bmp)$/i.test(extension)) {
+ if (/^data:image\//.test(url) || /(webp|svg|png|gif|jpg|jpeg|bmp|ico)$/i.test(extension)) {
38
return true;
39
} else if (/^data:/.test(url)) {
40
// other file types of base64
0 commit comments